foldMapFuture method

Future<A> foldMapFuture(
  1. Future f(
    1. F fa
    )
)

Implementation

Future<A> foldMapFuture(Future f(F fa)) =>
  /*step().*/ fold((a) => new Future.microtask(() => a), (fa) => f(fa).then((a) => cast<A>(a)), (ffb, f2) => ffb.foldMapFuture(f).then((c) => f2(c).foldMapFuture(f)));