subscribe<
TChannel extends Channel
>(
channel: TChannel,
options: SubscribeOptions
): Promise| Name | Type | Description |
|---|---|---|
channel* | TChannel | |
options | SubscribeOptions |
Subscribe to raw wire channels and receive protocol events.
For assembled projections, use the lazy getters instead:
thread.messages, thread.values, thread.toolCalls,
thread.subgraphs, thread.subagents, thread.output.