Interface IDeferred<T>

interface IDeferred<T> {
    promise: Promise<T>;
    reject: ((reason?) => void);
    resolve: ((value) => void);
}

Type Parameters

  • T

Properties

promise: Promise<T>
reject: ((reason?) => void)

Type declaration

    • (reason?): void
    • Parameters

      • Optional reason: any

      Returns void

resolve: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      Returns void

Generated using TypeDoc