Skip to content

API reference / @chanx-js/codegen / ChannelInfo

Interface: ChannelInfo ​

Defined in: analyze.ts:4

Extended by ​

Properties ​

address ​

ts
address: string;

Defined in: analyze.ts:9


description? ​

ts
optional description?: string;

Defined in: analyze.ts:10


heartbeat ​

ts
heartbeat: boolean;

Defined in: analyze.ts:15

Sends ping and receives pong, so the runtime may heartbeat it.


key ​

ts
key: string;

Defined in: analyze.ts:6

Key in channels.


name ​

ts
name: string;

Defined in: analyze.ts:8

chanx's own name for the channel, used as the descriptor's name.


toClient ​

ts
toClient: string[];

Defined in: analyze.ts:12


topic? ​

ts
optional topic?: TopicExtension;

Defined in: analyze.ts:13


toServer ​

ts
toServer: string[];

Defined in: analyze.ts:11

MIT licensed