Skip to content

AIDK API Reference / aidk-client / ChannelClientConfig

Interface: ChannelClientConfig ​

Defined in: packages/client/src/core/channel-client.ts:37

Properties ​

PropertyTypeDescriptionDefined in
isChannelEvent?(data: unknown) => data is ChannelEventOptional 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
transportChannelTransportTransport for send/receivepackages/client/src/core/channel-client.ts:39

Released under the MIT License.