Repository navigation
Replies: 1 comment
|
Try this. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi.
On this project,
would it be useful to be able to pipe any multiple functions?
regardless of whether they are synchronous or asynchronous.
even if there were errors in synchronous functions or rejections in asynchronous functions.
Using the Either monad concept makes it possible as follows.
Use Cases
For example, let’s consider three functions:
Two of them are asynchronous, and the other one is synchronous.
All three functions can throw errors or be rejected.
Let`s do this.
The console.log output is summarized briefly as follows.
I’d like to hear any thoughts on this.
Thank you.
All reactions