DELAPARRA
Index
Color
NL
Category: Flutter & Dart

Dart Concurrency

Explained by Updated

What is Dart Concurrency?

Dart Concurrency: Dart concurrency lets a program make progress on multiple tasks, using asynchronous operations or isolates. Awaiting network I/O allows an event loop to handle other work. A long CPU calculation can still block that loop. On native platforms an isolate can run such work separately. Measure stalls before moving expensive parsing or transformations off the main isolate.

Definition source DeLaParra Services

Frequently asked questions about Dart Concurrency

What should you keep in mind with Dart Concurrency?

Account for message transfer overhead and check web support separately. Awaiting a future does not by itself move CPU work off the main thread.

What does an example of Dart Concurrency look like?

await Isolate.run(() => parseReport(raw));

At a glance

CategoryFlutter & Dart
Explained by
Updated

More Flutter & Dart terms

All terms starting with D

Skills

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.