Skip to main content

agent_worker_key

Function agent_worker_key 

Source
pub fn agent_worker_key(agent: &AgentEntry) -> (String, String)
Expand description

The (host_app, role) of the worker a local presence speaks as: the host app from its transport or agent type, and its ctx_agent role made per session when the launching app named one (super::session_role). Two sessions of one role on one instance are two agents on Cloud; a subagent in the same session with the same role is the same agent.