squadron 7.1.1
squadron: ^7.1.1 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.
|
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.**local_logger**
: a simple example using a local service to log messages from workers.
However these examples are all implemented manually. This approach is discouraged and it is highly recommended to use squadron_builder in order to generate the boilerplate code and have your service run in Squadron workers.