On this page

Interface OnOptions

interface OnOptions {
    close?: readonly string[];
    highWaterMark?: number;
    lowWaterMark?: number;
    signal?: AbortSignal;
}

Hierarchy (View Summary)

Index

Properties

close?: readonly string[]

Names of events that will end the iteration.

highWaterMark?: number

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.

Number.MAX_SAFE_INTEGER
lowWaterMark?: number

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.

1
signal?: AbortSignal
Was this helpful?
SDK JS
Reference
OnOptions