interface AsyncGeneratorFunction {
    new AsyncGeneratorFunction(
        ...args: any[],
    ): AsyncGenerator<unknown, any, any>;
    length: number;
    name: string;
    prototype: AsyncGenerator<unknown, any, any>;
    (...args: any[]): AsyncGenerator<unknown, any, any>;
}
  • Creates a new AsyncGenerator object.

    Parameters

    • ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator<unknown, any, any>

Constructors

Properties

Constructors

  • Creates a new AsyncGenerator object.

    Parameters

    • ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator<unknown, any, any>

Properties

length: number

The length of the arguments.

name: string

Returns the name of the function.

prototype: AsyncGenerator<unknown, any, any>

A reference to the prototype.