bindFuture<R> method
Attempt to get right value of eitherFuture
.
Or return a Future that completes with a ControlError.
This is a shorthand for eitherFuture.then(bind)
.
See Either.futureBinding.
Implementation
@monadComprehensions
Future<R> bindFuture<R>(Future<Either<L, R>> eitherFuture) =>
eitherFuture.then(bind);