gisila_queue 0.1.1
gisila_queue: ^0.1.1 copied to clipboard
A Celery-like distributed task queue for Dart: register named tasks, enqueue them from anywhere with .delay()/.applyAsync(), and process them with worker pools backed by a pluggable broker (Redis or i [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate gisila_queueUse it
The package has the following executables:
$ rose
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gisila_queueWith Flutter:
$ flutter pub add gisila_queueThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
gisila_queue: ^0.1.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gisila_queue/gisila_queue.dart';