Skip to main content

handed_over_check

Function handed_over_check 

Source
pub fn handed_over_check(
    store: &Store,
    uid: &str,
    agent: &str,
) -> Option<String>
Expand description

The refusal to start agent uid while its shared definition record carries a hand-over mark, read fresh from the record so an edit by another instance on this host takes effect at once. None: no mark. Fails closed: a record that cannot be read refuses, since the agent cannot be shown not to be handed over. Every controller’s start path asks it.