commit method

  1. @override
Future<int?> commit(
  1. String key,
  2. CommitOp operation
)
override

Append a new entry for key / operation. Returns the assigned commitId, or -1 for keys that bypass the commit log (private:, privatekey:, public:_, local:, ...).

Implementation

@override
Future<int?> commit(String key, CommitOp operation) async =>
    commitSync(key, operation);