Interface IDeferred<T>

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

Type Parameters

  • T

Properties

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