Dart Fundamentals interview question · Most asked

Explain Future, async/await and Stream in Dart.

Create a free account to save this page, take notes and track your progress. Sign in

Summary

A Future is a single value available later; async/await writes asynchronous code sequentially without blocking the event loop; a Stream delivers multiple values over time, consumed with await for or listen.

Longer Answer

Run independent futures concurrently with Future.wait or a record's .wait; add timeouts; use isolates for CPU-heavy work.

Key Points

  • Single event loop per isolate.
  • Futures for one result, Streams for many.
  • Concurrency via Future.wait; parallelism via isolates.

Deep dive: Dart Fundamentals: Async Dart

More most-asked Dart Fundamentals questions

← All Dart Fundamentals questions

Was this page helpful?