https://kotlinlang.org logo
#coroutines
Title
# coroutines
g

groostav

05/14/2018, 3:20 AM
does anybody have some clever tricks to make
kotlinx.coroutines.experimental.withTimeout
unit-testable?
👍 1
s

streetsofboston

05/14/2018, 3:39 AM
g

groostav

05/14/2018, 3:46 AM
I believe so, I'm not a huge fan of passing
CoroutineContext
objects around, but it solves the problem
nice find!
s

streetsofboston

05/14/2018, 12:05 PM
I wrote it :)
4 Views