Interface SetImmediate

setImmediate which can be promisified

interface SetImmediate {
    [promisifySymbol]: SetImmediatePromise;
    __promisify__: SetImmediatePromise;
    (f: ((a: void) => any)): Timer;
    <TArgs>(f: ((...a: TArgs) => any), ...a: TArgs): Timer;
}
  • Parameters

    • f: ((a: void) => any)
        • (a): any
        • Parameters

          • a: void

          Returns any

    Returns Timer

  • Type Parameters

    • TArgs extends any[]

    Parameters

    • f: ((...a: TArgs) => any)
        • (...a): any
        • Parameters

          Returns any

    • Rest...a: TArgs

    Returns Timer

Properties

[promisifySymbol]: SetImmediatePromise
__promisify__: SetImmediatePromise