whereAsync method

Iterable<Async<T>> whereAsync()

Filters for Async elements, returning an iterable of the Async instances.

Implementation

Iterable<Async<T>> whereAsync() =>
    where((e) => e.isAsync()).map((e) => e.async().unwrap());