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

    Function ResolveAfter

    • Resolves a promise with the provided data after a specified timeout.

      Type Parameters

      • T

      Parameters

      • data: T

        The data to be resolved by the promise.

      • timeout: number

        The delay in milliseconds before the promise resolves.

      Returns Promise<T>

      A promise that resolves with the provided data after the specified timeout.

      2.0.6

      2020-06-02