worker_manager 2.3.2
worker_manager: ^2.3.2 copied to clipboard
Executor allows you to create a queue of tasks for isolate pool
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add worker_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
worker_manager: ^2.3.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:worker_manager/worker_manager.dart';