Open
Description
Note: the below function test is being called via a launch coroutine.
The following code works:
@Retryable(value=[RetryException::class])
suspend fun test() {
throw RetryException("blah")
}
However, the moment I add an async call, retry stops working:
@Retryable(value=[RetryException::class])
suspend fun test() {
val deferred = supervisorScope {
async { library.method() }
}
deferred.await()
throw RetryException("blah")
}
What could be wrong?
Metadata
Metadata
Assignees
Labels
No labels