run_off_main 1.1.0 copy "run_off_main: ^1.1.0" to clipboard
run_off_main: ^1.1.0 copied to clipboard

Execute CPU-bound Dart computations away from the main isolate with DevTools timeline tracing and Web fallbacks.

CHANGELOG #

1.1.0 - 2026-09-15 #

  • Added optional timeout parameter to runOffMain() and OffMainWorkerExecutor.run(); throws TimeoutException if the computation does not complete in time.
  • Added GitHub Actions CI workflow running dart format, dart analyze, and dart test on push/PR to main.

1.0.0 - 2026-09-08 #

  • Initial release of run_off_main.
  • Added runOffMain<T>() isolate task execution engine.
  • Added TimelineTask DevTools performance tracing.
  • Added graceful web platform fallback via conditional imports.
  • Added OffMainWorkerExecutor for configurable dependency injection.
0
likes
150
points
121
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdeveloperscoffee.com

Weekly Downloads

Execute CPU-bound Dart computations away from the main isolate with DevTools timeline tracing and Web fallbacks.

Repository (GitHub)
View/report issues

Topics

#isolate #concurrency #performance #async #web

License

unknown (license)

More

Packages that depend on run_off_main