Interface: ChannelThread
Defined in: packages/aiui-claude-channel/src/client.ts:36
A single client-owned thread of messages.
Properties
id
readonlyid:string
Defined in: packages/aiui-claude-channel/src/client.ts:38
The client-generated id carried by this thread's frames.
Methods
finish()
finish(
payload?):Promise<ChannelResponse>
Defined in: packages/aiui-claude-channel/src/client.ts:46
Send a final data frame (fin), optionally with a last payload, and resolve with the ack. After this the server rejects further frames for this thread.
Parameters
payload?
unknown
Returns
Promise<ChannelResponse>
send()
send(
payload):Promise<ChannelResponse>
Defined in: packages/aiui-claude-channel/src/client.ts:40
Send one payload as a (non-final) data frame; resolves with the ack.
Parameters
payload
unknown
Returns
Promise<ChannelResponse>