0PricingLogin
Dart Academy · Lesson

Single vs Broadcast Streams

Choose the right stream for many listeners.

Two Kinds of Streams

Dart streams come in two flavors: single-subscription and broadcast. Picking the right one depends on how many listeners you need.

Single-Subscription Streams

A single-subscription stream allows exactly one listener for its lifetime. It is the default and is ideal for a one-time sequence like reading a file. 📄

All lessons in this course

  1. Listening With await for
  2. Single vs Broadcast Streams
  3. Transforming Streams: map, where, take
  4. Creating Streams With async*
← Back to Dart Academy