locorda_worker 0.5.2
locorda_worker: ^0.5.2 copied to clipboard
Platform-agnostic isolate/web worker infrastructure for Locorda. Offloads CRDT merging, SQLite I/O, and backend HTTP (Google Drive, Solid Pods, etc.) to a background 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.2Alternatively, 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';