v0.0.20
Patch Changes
-
6b06772: introduce experimental parallel streaming
Experimental
inParallel
boolean argument to the stream directive may now be used to stream list items as they are ready instead of in sequential list order. -
99a85d4: introduce experimental batched streaming
Experimental
maxChunkSize
andmaxInterval
arguments allows for increasing the number of items in each streamed payload up to the specified maximum size. A maximum interval (specified in milliseconds) can be used to send any ready items prior to the maximum chunk size.When using a
maxChunkSize
greater than 1, thedata
property of execution patch results will consist of an array of items and a newatIndex
property will contain the initial index for the items included within the chunk. When streaming in parallel, newatIndices
property will be used instead ofatIndex
and will contain an array of the corresponding indices for each of the items included within thedata
property.