Interface DecomposedPromise<T>

Type Parameters

  • T

Hierarchy

  • DecomposedPromise

Properties

Methods

Properties

promise: Promise<T>

The promise controlled by the resolve and reject methods.

Methods

  • A function to reject the attached promise.

    Parameters

    • err: Error

    Returns void

  • A function to resolve the attached promise.

    Parameters

    • value: T

    Returns void

Generated using TypeDoc