RetryFn

fun interface RetryFn<T>

Functional interface for retry logic applied to queries or mutations within a command.

Parameters

T

The return type of the function to which retry logic is applied.

Functions

Link copied to clipboard
abstract suspend fun withRetry(block: suspend () -> T): T

Executes the block function under retry control.