DefaultHedgingPolicy
Parameters
config
The HedgingConfig to configure the behavior of the policy, such as the number of attempts and the delay between them.
onHedgingUsed
Optional callback invoked when the result comes from a non-primary attempt (attemptIndex > 0); useful for telemetry.