Optional
excessOptional
finalThe time taken to stream the final increment. Defaults to 100ms.
Optional
minimumThe minimum time to wait between increments made available on the stream. Defaults to 17ms (60 fps).
Optional
pollThe time to wait between each poll()
invocation, in milliseconds. This time does not include the time taken to invoke poll()
. Defaults to 1 second.
Optional
signalThe signal from an abort controller to stop the stream.
Optional
timeThe time controller to use for detecting the duration of events during the stream.
The function to compute the incremental progress between two states.
The function to reassemble incremental states into a complete state.
The function to subdivide an increment into smaller increments for a smoother stream. This function may return fewer than values than targetIncrements
if that quantity of data is unavailable.
Generated using TypeDoc
The additional time to schedule for an increment to be streamed via subincrements. For example, if the expected time until the next
poll()
invocation returns is 700ms and this value is 200ms, the current increment will be streamed across 900ms. Defaults to 500ms.