Class Deferred<T>

Type Parameters

  • T

Hierarchy

  • Deferred

Constructors

Properties

Methods

Constructors

Properties

promise: Promise<T>
resolve: ((result: T) => void)

Type declaration

    • (result: T): void
    • Parameters

      • result: T

      Returns void

reject: ((err: unknown) => void)

Type declaration

    • (err: unknown): void
    • Parameters

      • err: unknown

      Returns void

Methods

Generated using TypeDoc