Skip to main content

BatchedSignalOptions

type BatchedSignalOptions = object & BaseSignalOptions;

Type declaration

NameTypeDescription
bufferSize?numberSpecify the buffer size for replay type signal
emitImmediatelyWhenFull?booleanEmit the signal immediately when the buffer is full and disgard the scheduled function to avoid losing data.
schedule()(callback) => voidScheduler used for batching Example const scheduler = (callback: () => void) => { setTimeout(callback, 50); };
variant"batched"Batched signal variant