Skip to main content
Skip to main content

AsyncGeneratorFunction

admin/discounts.internal.AsyncGeneratorFunction

Callable

AsyncGeneratorFunction

AsyncGeneratorFunction(...args): AsyncGenerator<unknown, any, unknown>

Creates a new AsyncGenerator object.

Parameters

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

Returns

AsyncGenerator<unknown, any, unknown>

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?