Class Deferred<T>

Type Parameters

  • T

Hierarchy

  • Deferred

Constructors

Properties

Constructors

Properties

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

Type declaration

    • (reason?: any): void
    • Parameters

      • Optional reason: any

      Returns void

resolve: ((value?: T | PromiseLike<T>) => void)

Type declaration

    • (value?: T | PromiseLike<T>): void
    • Parameters

      • Optional value: T | PromiseLike<T>

      Returns void

Generated using TypeDoc