Closed kristianmandrup closed 7 years ago
I guess this would require "simply" inserting a ~
rule for round 1 in lex-core.js
with a specific Stream
class with that symbol identifier, then in a later round replacing that class/property combi with a specific function call? Pretty neat :)
FutureScript already has 'wait
, that's almost equivalent to ECMAScript async
and await
. It returns a promise.
For async I suggest you have a look at rq by Douglas Crawford as presented in this video
This elegantly solves complex async flows without promises and try/catch/finally :)
Would it make sense to incorporate this directly!?
I know this is likely too specific for your taste? Would love to learn how to add my own additions like this! Cheers!