kotlinx.coroutines.CoroutineScope |
|
kotlinx.coroutines.Deferred |
|
kotlinx.coroutines.Job |
|
org.apache.tuweni.concurrent.AsyncCompletion |
|
org.apache.tuweni.concurrent.AsyncResult |
timeoutAndRetry |
Cancel and retry a suspending block until a non-null result is obtained. suspend fun <R> timeoutAndRetry(timeout: Long, block: suspend (Int) -> R?): R suspend fun <R> timeoutAndRetry(timeout: Long, maxRetries: Int, block: suspend (Int) -> R?): R? suspend fun <R> timeoutAndRetry(timeout: (Int) -> Long?, block: suspend (Int) -> R?): R? |