Norbi
02/12/2024, 10:49 AMkotlinx.coroutines.CancellationException
and kotlin.coroutines.cancellation.CancellationException
? Thanks.Sam
02/12/2024, 10:54 AMkotlinx.coroutines
library, so that's where the CancellationException
would ideally live. In practice, the compiler has to know about cancellation exceptions for awkward reasons of compatibility, hence the additional kotlin.coroutines.cancellation.CancellationException
declaration.Dmitry Khalanskiy [JB]
02/12/2024, 10:54 AMpackage kotlinx.coroutines
typealias CancellationException = kotlin.coroutines.cancellation.CancellationException
Joffrey
02/12/2024, 1:16 PMDmitry Khalanskiy [JB]
02/12/2024, 1:20 PM