squadron 7.0.0
squadron: ^7.0.0 copied to clipboard
Multithreading and worker thread pool for Dart / Flutter, to offload CPU-bound and heavy I/O tasks to Isolate or Web Worker threads.
example/README.md
|
Squadron - Multithreading and worker pools in Dart #Offload CPU-bound and long running tasks and give your apps some air! Works everywhere: desktop, server, device, browser. Supports native, JavaScript & Web Assembly platforms. |
Samples #
This folder contains examples and tests for Squadron:
**hello_world**
: a simple example to execute a service in a pool of workers.**streaming**
: a simple example to execute a service streaming values from a worker.**test**
: various test benchmarks.
However examples here only rely on Squadron and are implemented manually.
This approach is discouraged and it is highly recommended to use squadron_builder in order to generate the boilerplate code in order to have your service run in Squadron workers.