Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/channels / / IdentityRouter

Interface: IdentityRouter

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

Deterministic router over the route table.

Stable

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