Open History to see the last commit
function resumeWebSocketStream<TOffset>(socket, options): void;
Defined in: packages/ai/src/stream-to-websocket.ts:299
Read-only replay of a run's durability log over a socket (mirrors
resumeServerSentEventsResponse). The adapter captures the offset from the
request (?offset/Last-Event-ID); no model runs. Closes 1008 when there
is nothing to resume.
Type Parameters#
TOffset#
TOffset extends string = string
Parameters#
socket#
options#
adapter#
StreamDurability<TOffset>
batch?#
number
debug?#
Returns#
void