Is there a way to monitor/assert there are no coroutines in a pending (maybe wrong word) state? i.e. I have a piece of code that dispatches some work in a coroutine on
Dispatchers.IO and I'm having some trouble with it bleeding over between integration tests so I want to have a check that confirms all coroutines have completed