startWithMany method

Stream<T> startWithMany(
  1. Iterable<T> initial
)

Emits all values in initial before any values or errors from this stream.

If this stream is a broadcast stream the result will be as well. If this stream is a broadcast stream it will miss any events which occur before the initial values are all emitted.

Implementation

Stream<T> startWithMany(Iterable<T> initial) =>
    startWithStream(Stream.fromIterable(initial));