Skip to main content

window_caller_for

Function window_caller_for 

Source
pub(crate) async fn window_caller_for(
    state: &AppState,
    caller: &str,
    block_id: &str,
) -> Option<String>
Expand description

The agent an override window is opened for, when caller (a connection’s registered agent, empty for the person’s window) acts on block_id that is another agent’s: Some(by), the caller’s uid (its name when it has none). None for the window itself, the agent’s own block and a worker it opened, which it ends at once.