Skip to main content

raise

Function raise 

Source
pub(crate) fn raise(
    state: &AppState,
    block_id: &str,
    agent_id: &str,
    kind: Kind,
    payload: Value,
) -> Result<Raised, AskError>
Expand description

Put payload up in block_id’s banner as a request of kind, without waiting for the answer: the caller learns at once whether the slot was free. A notice on the pane is replaced.