functional-programming
async
promise
algebraic-data-types
monad
control-flow
future
fantasy-land
sanctuary
cancellation
fluture
-
Updated
Jun 16, 2020 - JavaScript
I noticed that this repo talks a lot about async when it comes to cancellation. I wanted to make sure it also considered synchronous use cases.
A good cancellation primitive needs to not only be asynchronous, but also synchronous.
I say this because it would be nice if this cancellation primitive could be used to free up resources for things like EventTarget in the DOM. EventTargets can have