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.
0.5.1 #
0.5.0 #
- Initial public release
- Platform-agnostic worker infrastructure: Dart Isolates on native, Web Workers on web
workerMain(): worker entry point; accepts aWorkerParamsfactory and routes all framework messagesWorkerParams: declares storage handlers, remote handlers and CRDT mapping bootstrap data for the workerProxySyncEngine: main-thread transparent proxy — allSyncEnginecalls are forwarded to the workerSyncManagersupport: sync triggering, auto-sync scheduling and status streaming work seamlessly across the thread boundary- Plugin system via
WorkerChannel: bidirectional pub/sub for cross-thread concerns such as authentication bridges StorageMainHandler/StorageWorkerHandler: split storage interface for main ↔ worker storage coordination- Worker manifest system: packages expose a
locorda_worker.manifest.dartthat is auto-discovered bylocorda_builder