Skip to main content

Module names

Module names 

Source
Expand description

The names both ends of a connection spell the same: the services the server and its session workers expose, and the error codes clients act on.

Constants§

AGENT_CONTROLLER
Session-scoped (a session worker’s).
CHORD_SERVICE
Chord’s own service-control endpoint (packages/chord/src/services/wire.ts SERVICE_CONTROL_ID): catalogue, subscribe, unsubscribe.
EXTENSION_UI
LEGACY_EXTENSION_COMMANDS
MODELS
PRESENTATION_PLUGINS
RECONNECTING_CODE
The session’s worker is being restarted; the call may be retried once it is back.
SCHEDULES
SESSION_CONTROL
SESSION_DIRECTORY
Server-scoped: the session store as a replicated listing.
SESSION_MANAGEMENT
Server-scoped: list, create, attach, remove sessions.
SESSION_NOT_FOUND_CODE
SESSION_OPS
A Rust addition: the session actor’s operations ({"op": ...}).
SESSION_PLUGINS
TRANSCRIPT
WORKER_LOST_CODE
The session’s worker went away during the call; the server brings it back.
WORKER_RETIRING_CODE
The worker is retiring (a newer release took over); the server routes the call to its successor.

Functions§

is_lost_code
The code of a call that failed because the session’s worker went away: the session is durable, rejoin it.