extendAsyncFunction
Source: lib/extendAsyncFunction.js (pure JS) — default export: extendAsyncFunction
Resolves the (otherwise unnamed) AsyncFunction constructor/prototype and
provides an installer hook for extending it.
Exports
| Export | Args | Kind | Description |
|---|---|---|---|
extendAsyncFunction(proto=AsyncFunctionPrototype) | 0–1 | function | Installs extensions on the async-function prototype. (default export) |
AsyncFunctionExtensions | — | const | The (currently empty) extension bag. |
AsyncFunctionPrototype, AsyncFunction | — | const | The async-function prototype and its constructor. |
Export list
Generated by utilities/doc-api.js from the extendAsyncFunction dump of utilities/api-surface.sh: 13 members. Edit the text above this block, not the block.
Functions: AsyncFunctionPrototype[Symbol.toStringTag](), AsyncFunction(), default(), extendAsyncFunction()
Values: AsyncFunctionPrototype
AsyncFunctionExtensions
object
- static methods:
bindArguments(),bindArray(),bindThis(),catch(),finally(),indirect(),then()