Class DelayQueue

Controls the flow of method calls. If you have a method that may be called often, but you don't want it to run often, use this.

Hierarchy

  • DelayQueue

Constructors

Properties

callback: (() => void)

Type declaration

    • (): void
    • Returns void

delay: number = 200
delayTimeout: any
lastCallTime: number = ...

Methods

  • Request a call on the callback.

    Parameters

    • force: boolean = false

      If true, the callback will be called immediately.

    Returns void

Generated using TypeDoc