air_link_sync 0.2.1
air_link_sync: ^0.2.1 copied to clipboard
CRDT-based state synchronization for Air Link.
Air Link Sync #
CRDT (Conflict-free Replicated Data Type) state synchronization over Air Link. Automatic conflict resolution using last-writer-wins (LWW) semantics.
final sync = SyncChannel(peer);
sync.onUpdate.listen((update) => print('State synced: $update'));
sync.update({'key': 'value'});
See the air_link_core package for the base API.