whereSome method

Future<Iterable<Some<T>>> whereSome()

Awaits all futures and then filters for Some elements.

Implementation

Future<Iterable<Some<T>>> whereSome() =>
    Future.wait(this).then((e) => e.whereSome());