Skip to main content

lookup_session

Function lookup_session 

Source
pub async fn lookup_session(
    pool: &Pool,
    agent_instance_hierarchy: &str,
) -> Result<Option<SessionLookup>, Error>
Expand description

Resolve the session for agent_instance_hierarchy. Ok(None) means there’s no logged request for that hierarchy’s embedded response_id (no prior session).