• Returns a promise which errors after t seconds.

    Parameters

    • t: number

      Timeout in seconds.

    • taskName: string

      Name of task being timed for logging and error reporting.

    Returns Promise<void>

Generated using TypeDoc