cancel

fun cancel()

Cancels background tasks. This method should be called by the client application when the activity or fragment is cleaning up resources and/or going out of scope.