Runs fn up to attempts times with exponential backoff (250ms doubling,
capped at 2s). Only failures the predicate accepts are retried — business
rejections must surface on the first attempt. Callers are responsible for
only retrying operations that are idempotent at the PSP.
Runs
fnup toattemptstimes with exponential backoff (250ms doubling, capped at 2s). Only failures the predicate accepts are retried — business rejections must surface on the first attempt. Callers are responsible for only retrying operations that are idempotent at the PSP.