elizarov
12/20/2017, 7:32 AMgetCancellationException explains the purpose and behavior for this method quite well. Maybe we should rename it to reduce ambiguity and prevent its abuse? https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental/-job/get-cancellation-exception.htmlLuis
12/20/2017, 7:41 AMjob.cancel(CancellationException())? It would also be clearer to separate the sentence: "Otherwise it returns an instance of JobCancellationException..." (at least that's how I'm reading it). Also, coming back to the original issue at hand, it doesn't mention anything about cause.elizarov
12/20/2017, 8:04 AMLuis
12/20/2017, 5:16 PM