Skip to main content

classify

Function classify 

Source
pub fn classify(
    envelope: &AgentEnvelope,
    topic: &str,
    me: &AgentId,
    handled: HandledOperations<'_>,
) -> Dispatch
Expand description

What the agent me does with envelope, read from the topic named topic. The author is never a discriminator, so an agent may send work to itself.