Skip to main content

agent_acts_on_own_pane

Function agent_acts_on_own_pane 

Source
pub(crate) fn agent_acts_on_own_pane(
    mstore: &Store,
    ctx: &RpcContext,
    block_id: &str,
    doing: &str,
) -> Result<(), String>
Expand description

Whether the connection ctx may doing on block_id: always, unless it is registered as an agent and the pane is not the one that agent runs. Err is the refusal, saying what the agent can do instead.