ansman
03/13/2019, 9:10 PMrunBlocking
? I’m bridging a blocking API that gives me a CancelationSignal
that can notify when canceledgroostav
03/13/2019, 10:53 PMrunBlocking
, did you get it to throw a CancellationException
? or does it use java-1-5 "interruption" flag & exception?ansman
03/13/2019, 10:54 PMCancellationException
as expected:
runBlocking {
coroutineContext.cancel()
}