hedging

fun hedging(config: HedgingConfig.() -> Unit)

Configures a hedging policy. Multiple parallel attempts are launched; the first success is returned.

Parameters

config

Lambda to configure HedgingConfig (e.g. attempts, stagger).