{ } qjs-modules

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

ExportArgsKindDescription
extendAsyncFunction(proto=AsyncFunctionPrototype)0–1functionInstalls extensions on the async-function prototype. (default export)
AsyncFunctionExtensions—constThe (currently empty) extension bag.
AsyncFunctionPrototype, AsyncFunction—constThe 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()