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
| Property | Modifier | Type | Defined in |
|---|---|---|---|
routes | readonly | readonly 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
| Parameter | Type |
|---|---|
identity | ChannelIdentity |