Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/channels / / IdentityRouter

Interface: IdentityRouter ​

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

Stable

Deterministic router over the route table.

Properties ​

PropertyModifierTypeDefined in
routesreadonlyreadonly ChannelRoute[]packages/channels/src/router.ts:66

Methods ​

resolve() ​

ts
resolve(identity): ResolvedChannelRoute;

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

Total function: always resolves (the default route guarantees a match).

Parameters ​

ParameterType
identityChannelIdentity

Returns ​

ResolvedChannelRoute