Interface LimiterOptions

interface LimiterOptions {
    limitMSec?: number;
    limitMode?: LimitMode;
    limitType?: LimitType;
    priority?: number;
    queue?: RunQueue;
}

Hierarchy (view full)

Properties

limitMSec?: number

The duration to debounce/throttle for

0

limitMode?: LimitMode

The limiter mode

'trailing'

limitType?: LimitType

The type of limiter

'debounce'

priority?: number

The priority

DEFAULT_PRIORITY (0)

queue?: RunQueue

The queue

result of useDefaultQueue()