kotest-core / io.kotest.core.runtime / CallingThreadExecutionContext / executeWithTimeoutInterruption

executeWithTimeoutInterruption

suspend fun <T> executeWithTimeoutInterruption(timeout: Duration, f: suspend () -> T): T