preRemoveHooks property

List<Future<void> Function(K key, {required bool skipCommit})> get preRemoveHooks

Hooks invoked synchronously before a single-key remove. Each hook is awaited in order; if a hook throws, the remove is aborted and the exception propagates.

Implementation

List<Future<void> Function(K key, {required bool skipCommit})>
    get preRemoveHooks;