Skip to main content

Module handle

Module handle 

Source
Expand description

SessionHandle — the in-process address of a session (PLAN-phase2 §2.6).

EngineHost::create_session (A1) hands one out per session; every ClientTransport is built on it. echo_for_test ships a stand-in actor so package B can build the wire before the real SessionActor exists.

Modules§

locked_placeholder
F23: a Parked placeholder for sessions whose journal lock is held by another process at reload time. Refuses Attach while held; retries on every Attach so that once the holder exits, the next attach works.

Structs§

Presence
Live client accounting published by the actor (B4 sessions() listing).
SessionEndpoints
Actor-side ends of a session’s channels, minted with the handle.
SessionHandle

Constants§

CMD_CHAN_CAP
Bounded command queue depth (rpc WRITER_CHAN_CAP precedent).
DEFAULT_EVENTS_CAP
Default broadcast capacity; SYNAPS_SESSION_EVENTS_CAP overrides.

Functions§

events_cap
Broadcast capacity from SYNAPS_SESSION_EVENTS_CAP (min 16) or the default.