Skip to main content

takeover_in_use

Function takeover_in_use 

Source
pub(crate) fn takeover_in_use(
    block: &Block,
    block_id: &str,
    agent_id: &str,
) -> Option<Duration>
Expand description

The person took block_id over from agent_id and has neither given it back nor taken it over at the agent’s own request: only their idleness can return it. Some(how long ago they took it over) then, so the caller knows to ask the host when they last used the pane.