Skip to content

Documentation / @agentick/kernel / tryGetChannel

Function: tryGetChannel() ​

tryGetChannel(channelName): Channel | undefined

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

Try to get a channel from the current context (returns undefined if not available).

Parameters ​

channelName ​

string

Returns ​

Channel | undefined

Released under the ISC License.