Function Deferred

  • Type Parameters

    • Resolve

    • Reject

    Returns {
        promise: Promise<Resolve>;
        reject: ((reason?: Reject) => void);
        resolve: ((value: Resolve | PromiseLike<Resolve>) => void);
    }

    • promise: Promise<Resolve>
    • reject: ((reason?: Reject) => void)
        • (reason?: Reject): void
        • Parameters

          • Optional reason: Reject

          Returns void

    • resolve: ((value: Resolve | PromiseLike<Resolve>) => void)
        • (value: Resolve | PromiseLike<Resolve>): void
        • Parameters

          • value: Resolve | PromiseLike<Resolve>

          Returns void

Generated using TypeDoc