Skip to content

Documentation / @agentick/kernel / waitForChannelResponse

Function: waitForChannelResponse()

waitForChannelResponse(channelName, requestId, timeoutMs?): Promise<ChannelEvent>

Defined in: kernel/src/channel-helpers.ts:60

Wait for a response on a channel using the current context.

Parameters

channelName

string

requestId

string

timeoutMs?

number

Returns

Promise<ChannelEvent>

Throws

Error if channels are not available in context

Released under the ISC License.