Skip to content

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

PropertyModifierTypeDefined in
accountId?readonlystringpackages/channels/src/router.ts:33
agentIdreadonlystringpackages/channels/src/router.ts:35
channelId?readonlystringpackages/channels/src/router.ts:32
peerId?readonlystringpackages/channels/src/router.ts:34
sessionKey?readonlystringpackages/channels/src/router.ts:36