executeOperation

internal suspend fun <A, B, R, T> executeOperation(inputA: A, inputB: B, resultMapper: ResultMapper<R, T>, block: CtxBiFunction<RetryContext, A, B, R>): T?(source)

Executes an operation with this retry mechanism.

Parameters

inputA

The first input argument.

inputB

The second input argument.

resultMapper

The mapper to transform the result or the exception.

block

The operation to execute.

See also