Interface MakeLimiterArgs

interface MakeLimiterArgs {
    id: string;
    limitMSec?: number;
    limitMode?: LimitMode;
    limitType?: LimitType;
    priority?: number;
    queue: RunQueue;
}

Hierarchy

Properties

id: string
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