If you're still trying to get a handle on async coding in JS, I suggest you try asynquence: http://github.com/getify/asynquence …
-
-
Replying to @getify
asynquence combines the simplest and best parts of: promises, generators, co-routines (go-style CSP), event-reactive
1 reply 0 retweets 0 likes -
Replying to @getify
the roots of asynquence actually date back to pre-node days, making it one of the longest-standing async flow control libraries in JS.
1 reply 0 retweets 1 like -
Replying to @getify
a simple glance at asynquence: https://gist.github.com/getify/5959149 there's tons more it can do, layered on top of steps and gates.
1 reply 1 retweet 2 likes -
Replying to @getify
asynquence with generators: https://github.com/getify/asynquence/blob/master/contrib/README.md#runner-plugin … i write most of my async code like this, via generators now.
1 reply 2 retweets 4 likes -
Replying to @getify
go-style CSP (goroutines) emulated in asynquence: https://github.com/getify/asynquence/blob/master/contrib/README.md#go-style-csp-api-emulation … CSP is a really powerful async abstraction based on channels.
1 reply 2 retweets 4 likes -
Replying to @getify
event-reactive sequences (kinda like RP) in asynquence: https://github.com/getify/asynquence/blob/master/contrib/README.md#react-plugin … an event/stream fires off sequences.
1 reply 0 retweets 2 likes -
Replying to @getify
iterable sequences in asynquence: https://github.com/getify/asynquence/blob/master/README.md#iterable-sequences … iterable sequences invert the control paradigm from inside-out to outside-in.
2 replies 1 retweet 3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.