Type alias Either<R, L>

Either<R, L>: Right<R, L> | Left<R, L>

Either data type: either Right value of type R or Left value of type L

As per classic Either monad implementation can eithr contain a right (correct) value or a left (erroneous) value Used throughout the library to represent the result of failable operations, namely failed tasks

Type Parameters

  • R

    underlying value type

  • L

    underlying error type

Generated using TypeDoc