AsFutureEitherExtension<L extends Object, R> extension
- on
-
- Either<
L, R>
- Either<
Methods
-
toFuture(
) → Future< R> - Convert this Either to a Future. If this is Right, the Future will complete with Right.value as its value. Otherwise, the result Future will complete with Left.value as its error.