cancel



Deprecated (with error)

Cancel without reason is deprecated. Please provide a cause for cancellation.

Replace with

import kotlinx.coroutines.cancel
cancel(IOException())