Skip to main content

Module session

Module session 

Source

Re-exports§

pub use observer::DaemonObserver;
pub use observer::SubscribeRequest;
pub use observer::Subscriber;
pub use observer::SubscriberMap;
pub use observer::ThreadSubscribers;

Modules§

display
observer
The daemon’s ThreadObserver: fans agent events out to attached clients as DaemonMessages and persists derived presentation state.

Structs§

SessionManager
Manages all sessions on top of a single, daemon-lifetime agent system.
SessionManagerConfig
Configuration for building a SessionManager. The non-generic constructor (SessionManager::new) fills in the home-directory defaults; tests can point everything at temp dirs for hermetic runs.

Type Aliases§

ActiveThreadSet
The daemon’s view of active threads: a thread is active while its driver is live, and stays active after the driver idles for as long as it holds active subscriptions (its RAP servers must stay up to deliver the events). Maintained by the session activity watcher.
SessionStoreHandle
SharedSessionManager
Shared handle to the SessionManager. Rc rather than Arc: the manager (and the whole agent system) lives on one tokio LocalSet thread, and it holds !Send per-session toolsets.