This is the formal specification for a proposed
Array.fromAsync factory method
several new or revised clauses. See the proposal's
explainer for the proposal's background, motivation, and usage examples.
IfAbruptCloseAsyncIterator is a shorthand for a sequence of algorithm steps that use an
means the same thing as:
The abstract operation AsyncBlockStart takes arguments promiseCapability (a
This section is a wholly new subsection of the original Properties of the Array Constructor clause, to be inserted before the Array.from clause.
fromAsync method is called, the following steps are taken:
fromAsync function is an intentionally generic factory method; it does not require that its