AIDK API Reference / aidk-client / ChannelClientConfig
Interface: ChannelClientConfig ​
Defined in: packages/client/src/core/channel-client.ts:37
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
isChannelEvent? | (data: unknown) => data is ChannelEvent | Optional filter to determine if a message is a channel event. Default: checks for channel and type properties. | packages/client/src/core/channel-client.ts:51 |
publish? | <T>(channel: string, type: string, payload?: unknown) => Promise<T> | Optional override for publish. If not provided, uses transport.send() with channel event structure. | packages/client/src/core/channel-client.ts:45 |
transport | ChannelTransport | Transport for send/receive | packages/client/src/core/channel-client.ts:39 |