channel() function

Channel listener event, occurs whenever the listening channel gets a new payload message.

Signature:

export declare function channel(payload: AnyJson): void;

Parameters

Parameter

Type

Description

payload

AnyJson

event payload

Returns:

void

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.