Function PromiseResolve

  • Creates a new resolved promise.

    Returns

    A resolved promise.

    Returns Promise<void>

  • Creates a new resolved promise for the provided value.

    Returns

    A promise whose internal state matches the provided promise.

    Type Parameters

    • T

    Parameters

    • value: T

      A promise.

    Returns Promise<Awaited<T>>

  • Creates a new resolved promise for the provided value.

    Returns

    A promise whose internal state matches the provided promise.

    Type Parameters

    • T

    Parameters

    • value: T | PromiseLike<T>

      A promise.

    Returns Promise<Awaited<T>>

Generated using TypeDoc