rpominov / fun-task

Abstraction for managing asynchronous code in JS
MIT License
373 stars 18 forks source link

Similar projects #5

Open rpominov opened 8 years ago

rpominov commented 8 years ago

This became a habit for me to open such issue in all of my recent projects. Feel free to add links or discuss other projects here.

Here are two links for a start:

Two major differences of this project compared to listed above, is cancelation and runAndCatch feature. Not sure about cancelation in data.task though, but I think it at least works differently, or maybe data.task doesn't support it. Also there are number of minor differences.

rpominov commented 8 years ago

https://github.com/jordalgo/ask

It's still in early stages, but the main idea seems to be to support something like memoized/hot/mutlicast tasks .

polytypic commented 7 years ago

This is not about a related JS project, but it might be interesting background information that the difference between promises and tasks (as in this library) is much like the difference between async-await in C# and async in F# (introduced in 2007). There is an entertaining blog post about gotchas in C# async-await here (the JS async-await is fortunately smart enough to always return a promise).