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

    Type Alias PromiseCreatorFn

    PromiseCreatorFn: <T, TResult2 = never>(
        newExecutor: PromiseExecutor<T>,
        ...extraArgs: any,
    ) => IPromise<T | TResult2>

    Defines the signature of a function that creates a Promise.

    Type Declaration

      • <T, TResult2 = never>(
            newExecutor: PromiseExecutor<T>,
            ...extraArgs: any,
        ): IPromise<T | TResult2>
      • Type Parameters

        • T
        • TResult2 = never

        Parameters

        • newExecutor: PromiseExecutor<T>

          The executor to run in the context of the promise

        • ...extraArgs: any

          Any extra arguments that can be passed to the creator

        Returns IPromise<T | TResult2>

        A Promise IPromise implemenetation