executeCtxSupplier
inline suspend fun <R, T> executeCtxSupplier(noinline resultMapper: ResultMapper<R, T> = defaultResultMapper(), crossinline block: CtxSupplier<RetryContext, R>): T?(source)
Executes a Supplier with this retry mechanism.
Parameters
resultMapper
The mapper to transform the result or the exception. By default, no result mapping is performed, and exception handling defaults to the handler configured in the configuration.
block
The operation to execute.