kaven-basic - v6.0.0
    Preparing search index...

    Function RejectAfter

    • Returns a promise that rejects with an error after a specified timeout.

      Parameters

      • timeout: number

        The number of milliseconds to wait before rejecting the promise.

      Returns Promise<never>

      A promise that rejects with an Error indicating the timeout duration.

      2.0.6

      2020-06-02