TakeUntil<T> extension

A utility to end a stream based on an external trigger.

on

Methods

takeUntil(Future<void> trigger) Stream<T>

Available on Stream<T>, provided by the TakeUntil extension

Takes values from this stream which are emitted before trigger completes.