Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestructured_async

Structured asynchronous programming and cancellable futures for Dart.

pub.devRemove
synchronized

Lock mechanism to prevent concurrent access to asynchronous code.

pub.devRemove
ScoresHealth3993 (best)
Maintenance094 (best)
Quality96100 (best)
Popularity1795 (best)
Community669 (best)
Compatibility100100
UsageDownloads (30 days)4095.6M (best)
Likes15670 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars17217 (best)
MaintenanceLatest release0.3.2, 4 years ago3.6.1+1, 12 days ago (best)
Major versions in 12 months00
Contributors16 (best)
PublisherUnverifiedtekartik.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Automatically cancels pending timers and futures when a CancellableFuture completes.
  • Propagates errors from unawaited child computations to the caller.
  • Provides group and stream helpers for managing multiple async operations easily.
  • No dependencies other than the Dart SDK
  • Supports browser, DartVM, and Flutter across multiple platforms
  • Offers reentrant lock options via Zones and multi-lock capabilities
Weaknesses
  • Completed futures and timers inside a cancelled scope will briefly awaken before terminating.
  • Isolates spawned inside a CancellableFuture do not terminate automatically without manual cleanup callbacks.
  • The name is biased since Dart is single-threaded; it only helps handle asynchronous await interleaving
  • Basic locks are not reentrant by default
WarningsNoneNone
structured_async vs synchronized: which Flutter package should you use? | pubscout