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.