• Equivalent of setTimeout, but redirects to WPT's step_timeout when it is defined.

    Parameters

    • handler: TimerHandler
    • Optional timeout: number
    • Rest ...arguments: any[]

    Returns number

  • Equivalent of setTimeout, but redirects to WPT's step_timeout when it is defined.

    Type Parameters

    • TArgs extends any[]

    Parameters

    • callback: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: TArgs

          Returns void

    • Optional ms: number
    • Rest ...args: TArgs

    Returns NodeJS.Timeout

  • Equivalent of setTimeout, but redirects to WPT's step_timeout when it is defined.

    Parameters

    • callback: ((args) => void)
        • (args): void
        • Parameters

          • args: void

          Returns void

    • Optional ms: number

    Returns NodeJS.Timeout

Generated using TypeDoc