StaticEventEmitterIteratorOptions

Properties

Link copied to clipboard
abstract var close: ReadonlyArray<String>?

Names of events that will end the iteration.

Link copied to clipboard
abstract var highWaterMark: Double?

The high watermark. The emitter is paused every time the size of events being buffered is higher than it. Supported only on emitters implementing pause() and resume() methods.

Link copied to clipboard
abstract var lowWaterMark: Double?

The low watermark. The emitter is resumed every time the size of events being buffered is lower than it. Supported only on emitters implementing pause() and resume() methods.

Link copied to clipboard
abstract var signal: AbortSignal?

Can be used to cancel awaiting events.