Interface AsyncGeneratorFunction

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

    Parameters

    • ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator

Constructors

Properties

Constructors

  • Creates a new AsyncGenerator object.

    Parameters

    • ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator

Properties

length: number

The length of the arguments.

name: string

Returns the name of the function.

prototype: AsyncGenerator

A reference to the prototype.