hive_crdt 1.0.1 copy "hive_crdt: ^1.0.1" to clipboard
hive_crdt: ^1.0.1 copied to clipboard

outdated

Dart implementation of Conflict-free Replicated Data Types (CRDTs), backed by a Hive store.

example/hive_crdt_example.dart

import 'package:hive_crdt/hive_crdt.dart';

// TODO: Generate id on first launch
const nodeId = 'random_id';

Future<void> main() async {
  var crdt = await HiveCrdt.open('test', nodeId);
  crdt.put('a', 1);
  print(crdt.get('a')); // 1
}
7
likes
0
pub points
54%
popularity

Publisher

verified publishercachapa.net

Dart implementation of Conflict-free Replicated Data Types (CRDTs), backed by a Hive store.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crdt, hive

More

Packages that depend on hive_crdt