Skip to content

Documentation / @agentick/shared / ChannelEvent

Interface: ChannelEvent<T> ​

Defined in: protocol.ts:17

Channel event structure for all client-server communication.

Type Parameters ​

T ​

T = unknown

Properties ​

channel ​

channel: string

Defined in: protocol.ts:19

Channel name (e.g., 'session:events', 'todo_list')


id? ​

optional id: string

Defined in: protocol.ts:25

Request/response correlation ID


metadata? ​

optional metadata: ChannelEventMetadata

Defined in: protocol.ts:27

Event metadata


payload ​

payload: T

Defined in: protocol.ts:23

Event payload


type ​

type: string

Defined in: protocol.ts:21

Event type within the channel

Released under the ISC License.