collectStream
collectStream(
stream):Promise<IRStreamChunk[]>
Defined in: streaming.ts:217
Collect all chunks from a stream.
Parameters
Section titled “Parameters”stream
Section titled “stream”Stream to collect
Returns
Section titled “Returns”Promise<IRStreamChunk[]>
Array of all chunks