Functions

toSSE

Function: toSSE()

toSSE<TIn, TOut>(runner, options?): AsyncIterable<string>

Defined in: src/stream.ts:68

Subscribe to a runner's EventDispatcher and yield SSE-formatted strings until the run completes.

Type Parameters

TIn

TIn

TOut

TOut

Parameters

runner

RunnerBase<TIn, TOut>

options?

ToSSEOptions = {}

Returns

AsyncIterable<string>

On this page