Skip to main content
Version: v1

IDeltaQueueEvents Interface

Events emitted by a Delta Queue

Signature

export interface IDeltaQueueEvents<T> extends IErrorEvent

Extends: IErrorEvent

Type Parameters

Parameter Description
T

Call Signatures

CallSignature Description
(event: "push" | "op", listener: (task: T) => void): any
(event: "idle", listener: (count: number, duration: number) => void): any

Call Signature Details

(event: "push" | "op", listener: (task: T) => void): any

Signature

(event: "push" | "op", listener: (task: T) => void): any;

(event: "idle", listener: (count: number, duration: number) => void): any

Signature

(event: "idle", listener: (count: number, duration: number) => void): any;