locorda_worker 0.5.1
locorda_worker: ^0.5.1 copied to clipboard
Worker infrastructure for Locorda - Platform-agnostic isolate/worker architecture for offloading heavy operations (CRDT, DB, HTTP) to separate thread.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add locorda_workerWith Flutter:
$ flutter pub add locorda_workerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
locorda_worker: ^0.5.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:locorda_worker/locorda_worker.dart';