Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/server / / createWsTicketStore

Function: createWsTicketStore()

ts
function createWsTicketStore(options?): WsTicketStore;

Defined in: packages/server/src/ws/ticket.ts:91

Build the default in-memory ticket store. Production deployments use exactly one store per process (multiple processes would each issue their own tickets — there is no shared state because the single-user-per-process default applies).

Parameters

ParameterType
optionsWsTicketStoreOptions

Returns

WsTicketStore

Stable