loading...

re: Handling errors with Either VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for the comment :) Btw, how would you handle sync/async + composition? That's a good question. Unfortunately, I don't have a good answe...
 

Thanks for reply!

I actually used to do what you mention in the first code example, but not in the last example (nice trick to explicitly and descriptively passing from sync to async), at the end of the day when we enter to the async world we cannot exit, even worse, they can be nested, but luckily we have async/await mechanism to flat it.

By the way, I think the operator pipe will fix this.

Code of Conduct Report abuse