Options
All
  • Public
  • Public/Protected
  • All
Menu

Module setTimeout

Callable

  • setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): Timeout
  • Parameters

    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • ms: number
    • Rest ...args: any[]

    Returns Timeout

Index

Functions

Functions

__promisify__

  • __promisify__(ms: number): Promise<void>
  • __promisify__<T>(ms: number, value: T): Promise<T>
  • Parameters

    • ms: number

    Returns Promise<void>

  • Type parameters

    • T

    Parameters

    • ms: number
    • value: T

    Returns Promise<T>