StreamTask<R> typedef

StreamTask<R> = Stream<R>? Function()

An async task that completes after the Stream is closed.

Implementation

typedef StreamTask<R> = Stream<R>? Function();