Skip to main content

Module session_scope

Module session_scope 

Source
Expand description

Session Scoping — namespaced session isolation for AxonServer.

Wraps multiple SessionStore instances keyed by scope name, providing isolation between flows, daemons, and the global server context.

Scopes:

  • "global" — default scope for server-wide state
  • "flow:<name>" — per-flow session isolation
  • "daemon:<name>" — per-daemon session isolation
  • Custom string — any arbitrary namespace

Each scope gets its own ephemeral memory and persistent store.

Structs§

ScopeSummary
Summary info for a scope.
ScopedEntry
A session entry with scope context.
ScopedSessionManager
Manages multiple SessionStore instances, one per scope.

Constants§

DEFAULT_SCOPE
The default scope name.

Functions§

daemon_scope
Build a scope name for a daemon.
flow_scope
Build a scope name for a flow.