Behaviour and guarded runtime for application-defined anonymizer operators.
Custom operators receive the source value, safe anonymizer context, and the
configured options map. They must return {:ok, replacement} or
{:ok, replacement, metadata} with a binary replacement and map metadata.
Summary
Types
Accepted custom operator callback return contract.
Sanitized anonymizer context supplied to a custom operator.
Application-defined options from the operator configuration.
Types
Callbacks
@callback apply(String.t(), context(), options()) :: callback_result()