Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for AsyncGeneratorFunction.
Developer library 6
JavaScript reference
mics - JSON ### Managing memory - WeakRef - FinalizationRegistry ### Control abstraction objects - Iterator - AsyncIterator - Promise - GeneratorFunction - AsyncGeneratorFunction - Generator - AsyncGenerator - AsyncFunction - DisposableStack - AsyncDisposableStack ### Reflection - AbstractModuleSource - Reflect - Proxy ### Internationalization - Intl - Intl.Collator - Intl.DateTimeFormat - Intl.DisplayNames -
async function*
ns#function_parameters). - `statements` - : The statements comprising the body of the function. ## Description An `async function*` declaration creates an AsyncGeneratorFunction object. Each time when an async generator function is called, it returns a new AsyncGenerator object, which conforms to the [async iterator protocol](/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterabl
Standard built-in objects
help to structure code, especially async code (without using deeply nested callbacks, for example). - Iterator - AsyncIterator - Promise - GeneratorFunction - AsyncGeneratorFunction - Generator - AsyncGenerator - AsyncFunction - DisposableStack - AsyncDisposableStack ### Reflection - AbstractModuleSource - Reflect - Proxy ### Internationalization Additions to the ECMAScript core for language-sensitive functional
Function
[`function`](/docs/Web/JavaScript/Reference/Statements/function) - [`function` expression](/docs/Web/JavaScript/Reference/Operators/function) - AsyncFunction - AsyncGeneratorFunction - GeneratorFunction - Functions
Function: prototype
[Generator functions](/docs/Web/JavaScript/Reference/Statements/function*) have a `prototype` property, but cannot be called with `new`: ```js async function* asyncGeneratorFunction() {} function* generatorFunction() {} ``` Instead, generator functions' `prototype` property is used when they are called _without_ `new`. The `prototype` property will become the returned [`Generator`](/docs/Web/JavaScript/Reference/Gl
GeneratorFunction
docs/Web/JavaScript/Reference/Statements/function*) - [`function*` expression](/docs/Web/JavaScript/Reference/Operators/function*) - Function - AsyncFunction - AsyncGeneratorFunction - Functions