fun-task
fun-task copied to clipboard
Similar projects
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:
- https://github.com/Avaq/Fluture
- https://github.com/folktale/data.task
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.
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 .
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).