An async generator type created e.g. as:
/** @type {AsyncGenerator} */const asyncGeneratorType = (async function* () { yield await Promise.resolve(1);})(); Copy
/** @type {AsyncGenerator} */const asyncGeneratorType = (async function* () { yield await Promise.resolve(1);})();
@property {'AsyncGenerator'} [Symbol.toStringTag] Defines the Symbol.toStringTag property as "AsyncGenerator".
@property {'AsyncGenerator'} [Symbol.toStringTag]
Symbol.toStringTag
"AsyncGenerator"
Optional
An async generator type created e.g. as:
@property {'AsyncGenerator'} [Symbol.toStringTag]Defines theSymbol.toStringTagproperty as"AsyncGenerator".