@nevware21/ts-async - v0.5.4
    Preparing search index...

    Type Alias PromiseExecutor<T>

    PromiseExecutor: (
        resolve: ResolvePromiseHandler<T>,
        reject: RejectPromiseHandler,
    ) => void

    A function to be executed during the creation of a promise instance. It receives two functions as parameters: resolve and reject. Any errors thrown in the executor will cause the promise to be rejected, and the return value will be neglected. The semantics of executor are detailed below.

    Type Parameters

    • T

    Type declaration