Skip to main content

Module session

Module session 

Source

Structs§

RuntimeEventEnvelope
SessionManager
Manages V8 sessions with concurrency limiting. Each session runs on a dedicated OS thread with its own V8 isolate.
SessionShutdown
Deferred shutdown work for a session that has already been removed from the manager. finish() joins the session thread and clears any call routes the thread registered while shutting down. Callers must release the SessionManager lock before calling finish(). Joining under the lock deadlocks: the dispatch thread needs the lock to drain the event channel, and the joined thread can be parked on a full event channel send.

Enums§

SessionCommand
Commands sent to a session thread

Type Aliases§

RuntimeEventSender
Sender for typed runtime events produced by session threads.