Justin Tullgren
07/21/2020, 2:55 PMsuspendCancellableCoroutine
being called in a runBlocking
or runBlockingTest
context and using the same dispatcher (Test Dispatcher) block while waiting for a java callback that it wraps? The API that suspendCancellableCoroutine
wraps spawns a Java thread.Justin Tullgren
07/21/2020, 2:56 PM