Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/channels / / createIdentityRouter

Function: createIdentityRouter()

ts
function createIdentityRouter(options): IdentityRouter;

Defined in: packages/channels/src/router.ts:113

Build a deterministic identity router. Throws ChannelRouteConfigError when the table is empty, contains a row with an empty agentId, or lacks a catch-all default route.

Parameters

ParameterType
optionsIdentityRouterOptions

Returns

IdentityRouter

Stable