Skip to main content

session_poll_key

Function session_poll_key 

Source
pub fn session_poll_key(tool_name: &str, args: &Value) -> Option<SessionPollKey>
Expand description

Extract the coalescing key for a session poll/wait invocation.

tool_name is a registry name (write_stdin, command_session_internal, read_pty_session, …). Returns None for anything that is not a session wait/poll/read or that carries no session id.