adk_artifact_reconcile_handler behaviour (erlang_adk v0.10.0)

View Source

Handler contract for inspecting or compensating an orphaned artifact effect. Implementations receive only the bounded journal projection.

Summary

Callbacks

reconcile/3

-callback reconcile(State :: term(), Effect :: map(), TimeoutMs :: pos_integer()) ->
                       {ok, committed | compensated | not_applied} | {error, term()}.