whereOk method

Future<Iterable<Ok<T>>> whereOk()

Awaits all futures and then filters for Ok elements.

Implementation

Future<Iterable<Ok<T>>> whereOk() =>
    Future.wait(this).then((e) => e.whereOk());