Commit Hooks
fun (update_object()) -> {ok, update_object()} | {error, Reason}.
-type update_object() :: { {key(), bucket()}, crdt_type(), update_operation() }
-type update_operation() :: {atom(), term()}Pre-Commit hooks
my_increment_hook({ {Key, Bucket}, antidote_crdt_counter_pn, {increment, 1} }) ->
{ok, { {Key, Bucket}, antidote_crdt_counter_pn, {increment, 2} }}.Post-commit hooks
Registering Commit hooks
Last updated