Join an existing run's event stream by run ID. Used for reconnecting to in-progress runs or consuming queued runs.
joinStream(
runId: string,
lastEventId: string,
joinOptions: __type
): Promise<void>| Name | Type | Description |
|---|---|---|
runId* | string | The ID of the run to join. |
lastEventId | string | The last event ID received, for resuming mid-stream.
Defaults to |
joinOptions | __type | Additional options for stream mode and event filtering. |