Cancelling the job

The next step is to cancel the execution of the job. If the Job exists in the CoroutineContext, its cancel() function is invoked:

context[Job]?.cancel(exception)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.135.225