Interface AsyncGeneratorFunction

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

    Parameters

    • Rest ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator<unknown, any, unknown>

Constructors

Properties

Constructors

  • Creates a new AsyncGenerator object.

    Parameters

    • Rest ...args: any[]

      A list of arguments the function accepts.

    Returns AsyncGenerator<unknown, any, unknown>

Properties

length: number

The length of the arguments.

name: string

Returns the name of the function.

prototype: AsyncGenerator<unknown, any, unknown>

A reference to the prototype.