forEach method
- @override
Executes action
on each element of the stream.
Completes the returned Future
when all elements of the stream
have been processed.
If the stream contains an error, or if the call to action
throws,
the returned future completes with that error, and processing stops.
Implementation
@override
AsObservableFuture<dynamic> forEach(void action(T element)) =>
new AsObservableFuture<dynamic>(_stream.forEach(action));