crdt_hive 1.0.0-pre.4 copy "crdt_hive: ^1.0.0-pre.4" to clipboard
crdt_hive: ^1.0.0-pre.4 copied to clipboard

discontinuedreplaced by: hive_crdt

A CRDT backed by a Hive store.

example/crdt_hive_example.dart

import 'package:crdt_hive/crdt_hive.dart';

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

Future<void> main() async {
  var crdt = await CrdtHive.open('test', nodeId);
  crdt.put('a', 1);
  print(crdt.get('a')); // 1
}
1
likes
30
points
33
downloads

Publisher

verified publishercachapa.net

Weekly Downloads

A CRDT backed by a Hive store.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

crdt, hive

More

Packages that depend on crdt_hive