Skip to main content

caller_block

Function caller_block 

Source
pub(super) fn caller_block(
    regs: &[AgentRegistration],
    uid: Option<&str>,
    block: Option<&str>,
    agent: Option<&str>,
) -> Option<String>
Expand description

The caller’s own block: by its token’s UID, else the block id it sent, else its name when exactly one registered agent has it. Only used to leave the caller out and to read its own repository, so a name is enough.