Type alias SetTimeoutFunc

SetTimeoutFunc: ((action, ms?, ...args) => NodeJS.Timeout)

Type declaration

    • (action, ms?, ...args): NodeJS.Timeout
    • The structure of a setTimeout compatible function.

      Parameters

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

            • Rest ...args: any[]

            Returns void

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

      Returns NodeJS.Timeout

Generated using TypeDoc