Skip to main content

Crate meerkat_session

Crate meerkat_session 

Source
Expand description

meerkat-session — Session service orchestration for Meerkat.

This crate provides EphemeralSessionService (always available) and, behind feature gates, PersistentSessionService and DefaultCompactor.

§Features

  • session-store: Enables PersistentSessionService.
  • session-compaction: Enables DefaultCompactor and CompactionConfig.

Re-exports§

pub use ephemeral::EphemeralSessionService;
pub use ephemeral::RuntimeContextAdmissionGuard;
pub use ephemeral::SessionAgent;
pub use ephemeral::SessionAgentBuilder;
pub use ephemeral::SessionSnapshot;
pub use staged_registry::AdmissionOutcome;
pub use staged_registry::MaterializationStatus;
pub use staged_registry::StagedSessionRegistry;

Modules§

ephemeral
EphemeralSessionService — in-memory session lifecycle with no persistence.
staged_registry
StagedSessionRegistry — the single typed owner of session materialization status, staged-capacity custody, and the global active-capacity admission seam.

Constants§

SESSION_LABELS_KEY
Metadata key used to store session labels in the Session.metadata map.

Type Aliases§

BroadcastEventReceiver
Type alias for the raw broadcast receiver used by event subscriptions. Exported for WASM surface which needs synchronous try_recv().