AIDK API Reference / aidk-kernel / getChannel
Function: getChannel() ​
ts
function getChannel(channelName: string): Channel;Defined in: packages/kernel/src/channel-helpers.ts:13
Get a channel from the current context.
Parameters ​
| Parameter | Type |
|---|---|
channelName | string |
Returns ​
Throws ​
Error if channels are not available in context