Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/channels / / ChannelRoute
Interface: ChannelRoute
Defined in: packages/channels/src/router.ts:31
One row of the route table. Omitted identity fields match any value; agentId is mandatory. When sessionKey is omitted the router derives a stable per-peer key <channelId>:<accountId>:<peerId> so distinct peers never share a session by accident; set it explicitly to pool conversations into one session on purpose.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
accountId? | readonly | string | packages/channels/src/router.ts:33 |
agentId | readonly | string | packages/channels/src/router.ts:35 |
channelId? | readonly | string | packages/channels/src/router.ts:32 |
peerId? | readonly | string | packages/channels/src/router.ts:34 |
sessionKey? | readonly | string | packages/channels/src/router.ts:36 |