OptionallimitThe maximum number of events to keep queued. This is used for when processing of events is slow, and will let the iterator drop old or new events or when used with AsyncEvent block emits.
Defaults to unlimited.
OptionaloverflowBehavior to use when this iterator has reached its limit for queued events.
OptionalsignalSignal that stops the iterator. When the signal is aborted the iterator
unsubscribes and the iteration ends with done: true, so a
for await ... of loop exits without an error.
Options available for iterators of events.