But can I use callback? I love callbacks. Christmas tree style. with the lights and all....— Hadi Hariri (@hhariri) April 18, 2018
If you want to use callbacks or run suspended datatypes, then
Effect is the typeclass to use. It contains a single function
runAsync that takes a callback and returns a new instance of the datatype. The operation will not yield a result immediately; to start running the suspended computation, you have to evaluate that new instance using its own start operator:
TODO. Meanwhile you can find a short description in the intro to typeclasses.
|arrow.fx.rx2||FlowableK, MaybeK, ObservableK, SingleK|
Do you like Arrow?✖