Function delayedPromise

  • Creates a promise that resolves the value on due time.

    Returns

    A delayed Promise.

    Type Parameters

    • T

    Parameters

    • value: T

      The value to resolve.

    • dueTime: number

      The time to wait to resolve the Promise.

    Returns Promise<T>

Generated using TypeDoc