crdt_hive 1.0.0-pre.2
crdt_hive: ^1.0.0-pre.2 copied to clipboard

Dart native js
Flutter Android iOS web

A CRDT backed by a Hive store.

crdt_hive #

A CRDT backed by a Hive store.

Depends on the crdt package.

Usage #

A simple usage example:

import 'package:crdt_hive/crdt_hive.dart';

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

main() async {
  var crdt = await CrdtHive.open('test', nodeId);
  crdt.put('x', 1);
  crdt.get('x');  // 1
}
0
likes
100
pub points
31%
popularity

Publisher

cachapa.net

A CRDT backed by a Hive store.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

crdt, hive

More

Packages that depend on crdt_hive