Skip to main content

live_holder_elsewhere

Function live_holder_elsewhere 

Source
fn live_holder_elsewhere(
    registry: &ReactiveHandler,
    leased: Option<String>,
    uid: &str,
    block_id: &str,
    is_live: impl Fn(&str) -> bool,
) -> Option<String>
Expand description

The pane that holds uid right now, when it is not block_id and still runs. Registering a second pane for the agent would move the agent’s name, UID and relay entry to a pane that is refused its turns (identity eviction treats the newcomer as a respawn), and every message to the agent would then be refused at the pane it was routed to. The pane that holds the agent’s lease is the holder; the registry’s own entry stands in until one has claimed it.