-
Notifications
You must be signed in to change notification settings - Fork 16
Revert #20 and do not await async inputs’ values without mapping ƒ #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,10 +74,10 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapfn_ [ , _thisArg_ ] ] )</ins></h | |
| 1. If _mapping_ is *true*, then | ||
| 1. Let _mappedValue_ be Call(_mapfn_, _thisArg_, « _nextValue_, 𝔽(_k_) »). | ||
| 1. IfAbruptCloseAsyncIterator(_iteratorRecord_, _mappedValue_). | ||
| 1. Set _mappedValue_ to Await(_mappedValue_). | ||
| 1. IfAbruptCloseAsyncIterator(_iteratorRecord_, _mappedValue_). | ||
| 1. Set _mappedValue_ to _mappedValue_.[[Value]]. | ||
|
||
| 1. Else, let _mappedValue_ be _nextValue_. | ||
| 1. Set _mappedValue_ to Await(_mappedValue_). | ||
| 1. IfAbruptCloseAsyncIterator(_iteratorRecord_, _mappedValue_). | ||
| 1. Set _mappedValue_ to _mappedValue_.[[Value]]. | ||
| 1. Let _defineStatus_ be CreateDataPropertyOrThrow(_A_, _Pk_, _mappedValue_). | ||
| 1. If _defineStatus_ is an abrupt completion, return ? AsyncIteratorClose(_iteratorRecord_, _defineStatus_). | ||
| 1. Set _k_ to _k_ + 1. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.