bindFuture<R> method

Future<Validation<R>> bindFuture<R>(
  1. Future<Validation<R>> f(
    1. T val
    )
)

Implementation

Future<Validation<R>> bindFuture<R>(Future<Validation<R>> Function(T val) f) =>
    fold((fails) => Invalid<R>(fails).toFuture(), (v) => f(v));