Skip to main content
Skip to main content

AsyncGeneratorFunction

Callable

AsyncGeneratorFunction

Creates a new AsyncGenerator object.

Parameters

argsany[]Required
A list of arguments the function accepts.

Returns

AsyncGeneratorAsyncGenerator<unknown, any, unknown>Required

Properties

lengthnumberRequired
The length of the arguments.
namestringRequired
Returns the name of the function.
prototypeAsyncGenerator<unknown, any, unknown>Required
A reference to the prototype.
Was this section helpful?