tryExecute

suspend fun <T> tryExecute(block: suspend () -> T): T?(source)

Tries to execute an operation, returning null if the bulkhead is full or times out.

Return

the result of the operation or null if rejected

Parameters

block

the operation to execute