Do something with the error if any, but does not change it.
Do something with the error if any, but does not change it. Handle asynchrone operation.
Do something with the success value if any, but does not change it.
Do something with the success value if any, but does not change it. Handle asynchrone operation.
Transform the error if any
Transform the error if any, with an asynchrone operation
Transform the success value of the either, if any. If the result of the mapping is another either, it will be flatten atomatically
Transform the success value of the either, if any, with an asynchrone operation If the result of the mapping is another either, it will be flatten atomatically
Generate a value from an error, or just return a default value
Represent an uncertain state, where you can have either a value, or an error