Closed donggyukim closed 7 years ago
What's going on here? Seems like bad abstraction to let a user of the class switch coroutines.
Otherwise, there's no way to switch to the target thread when we implement its subclass. This is still hidden to the user because it's protected.
This is useful when we override the
idle
method to decrease polling frequency.