destroy

fun destroy()

Cancels the internal CoroutineScope. Call when the host (Activity/Fragment/ViewModel) is destroyed.