rogeralsing
07/21/2017, 9:19 AMoverride fun schedule(runner: suspend CoroutineScope.() -> Unit) {
launch(CommonPool, CoroutineStart.DEFAULT, runner)
}
I changed my dispatcher signature to take a CoroutineScope block instead, that lets me avoid wrapping the runner in a lambda.
Now I'm down to two doResumes.. very nice 🙂