Implementation of the Deferred API to simplify handling of Promises.

Type Parameters

  • T

Constructors

Properties

Constructors

Properties

promise: Promise<T>
resolve: ((value: T) => void)
reject: ((reason: unknown) => void)