@openpit/engine
    Preparing search index...

    Type Alias PolicyMutation

    PolicyMutation: Mutation | { commit: MutationFn; rollback: MutationFn }

    A commit/rollback pair contributed by a policy decision. Either the Mutation wrapper class (from @openpit/engine/tx) or a plain object with both callbacks is accepted. Apply tentative state before registration. The callbacks receive this object as this; drop-copy may call rollback even when this mutation's commit was not reached.