Closed
Closed
Conversation
see http://wiki.ecmascript.org/doku.php?id=strawman:async_functions async function: `->>`, `~>>`, `-->>`, `~~>>`, `async (arglist) ->...`, `async function name (arglist)` await: `await` => `await`; `await all` => `await*` (proposed to translate to `Promise.all`, not final) backcall does NOT work, but this should be fine because they were invented to create the illusion of async function anyway
This was referenced
Sep 20, 2017Closed
Closed
| return 3 | ||
| if last.0 is 'yield' and last.1 is 'await' | ||
| last.1 += 'all' | ||
| return 3 |
| | 'yield' => '' | ||
| | 'yieldfrom' => 'from' | ||
| | 'await' => 'await' | ||
| | _ => '' |
| x = ->> | ||
| 3 | ||
|
|
||
| y <- x!then |
|
|
||
| y <- x!then | ||
|
|
||
| eq y, 16 |
Closed
Closed
Labels
None yet