removeEntryFor method

  1. @override
Future<void> removeEntryFor(
  1. String key
)
override

Remove the commit entry for key, if one exists. The log holds at most one entry per atKey, so at most one entry is removed; removing none is not an error. Used by the skipCommit write paths: a write that must leave no commit entry also scrubs the key's previous entry, otherwise sync would keep serving a stale entry for a record whose latest change was deliberately uncommitted.

key takes the same form that commit accepts on the same backend.

Implementation

@override
Future<void> removeEntryFor(String key) async => purgeSync(key);