@nevware21/ts-utils
    Preparing search index...

    Interface IAsyncGeneratorFunction

    The signature of an async generator function, this has the same shape as the AsyncGeneratorFunction provided by TypeScript v3.6 and later, it is defined here so that the exported types can be used with earlier versions. The results are any so a value of this type can be assigned to an AsyncGeneratorFunction.

    0.20.0

    interface IAsyncGeneratorFunction {
        new IAsyncGeneratorFunction(...args: any[]): any;
        length: number;
        name: string;
        prototype: any;
        (...args: any[]): any;
    }
    • Calls the async generator function and returns the new async generator object.

      Parameters

      • ...args: any[]

        The arguments for the async generator function

      Returns any

    Index
    • Creates a new async generator object.

      Parameters

      • ...args: any[]

        The arguments for the async generator function

      Returns any

    length: number

    The number of arguments expected by the async generator function.

    name: string

    The name of the async generator function.

    prototype: any

    The prototype of the async generator objects created by the async generator function.