Returns the value if it is a Left, otherwise returns a default value asynchronously.
The default value (as-is or produced from a callback) to return if the value is a Right.
The value if it is a Left, otherwise the default value.
Maps the value if it is a Left asynchronously, otherwise returns the value as-is.
The async function to apply to the value if it is a Left.
A new Either with the mapped value if it is a Left, otherwise the value as-is.
Maps the value if it is a Right asynchronously, otherwise returns the value as-is.
The async function to apply to the value if it is a Right.
A new Either with the mapped value if it is a Right, otherwise the value as-is.
Matches the jonad by calling the appropriate callback based on the value type asynchronously.
If the value is a Left, this callback is called with the value.
If the value is a Right, this callback is called with the value.
The result of the callback that was called.
Returns the value if it is a Right, otherwise returns a default value asynchronously.
The default value (as-is or produced from a callback) to return if the value is a Left.
The value if it is a Right, otherwise the default value.
An Either jonad.
Represents a value that can be one of two types, "Left" or "Right". Associates a set of utility functions to work with the jonad.