Glossary: Kotlin Beyond the Basics
cooperative
Cancellation is cooperative: a coroutine only stops where it checks, such as at `delay`, `isActive` or `ensureActive()`. A loop that never suspends never notices.
Glossary: Kotlin Beyond the Basics
Cancellation is cooperative: a coroutine only stops where it checks, such as at `delay`, `isActive` or `ensureActive()`. A loop that never suspends never notices.