Interface QueueOptions

interface QueueOptions {
    delay?: number;
    max?: number;
}

Properties

Properties

delay?: number

The queue will be flushed automatically after an inactivity of this delay in milliseconds. By default there is no automatic flushing (null).

max?: number

When the queue exceeds the given maximum number of entries, the queue is flushed automatically. Default value is Infinity.

Generated using TypeDoc