pure
    Preparing search index...

    Type Alias PromiseHandle<T>

    A handle of the promise that breaks down the promise object and its resolve and reject functions

    type PromiseHandle<T> = {
        promise: Promise<T>;
        reject: (reason?: unknown) => void;
        resolve: (value: T | PromiseLike<T>) => void;
    }

    Type Parameters

    • T
    Index

    Properties

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