Class Defer<T>

Type Parameters

  • T = void

Constructors

Properties

Constructors

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

      • value: T | PromiseLike<T>

      Returns void

Generated using TypeDoc