<https://youtrack.jetbrains.com/issue/KT-22228>
# coroutines
s
For JS code that injects the appropriate coroutine-contexts into their code’s coroutines, this could alleviate some of these blocking issues by making
runBlocking
non-blocking (it would advance ‘virtual time’ instead, much like Rx’
TestScheduler
). Something similar like this, but supported on multiple platforms: https://github.com/Kotlin/kotlinx.coroutines/pull/297
g
@Test fun asdf() = runBlocking<Unit> { ...
seems pretty elegant to me
j
it becomes much more of a burden in multiplatform tests