Concept Flow - Job lifecycle and cancellation
Create Job
Start Job
Job Running
Cancel Job?
Yes→Job Cancelling
Job Cancelled
Cleanup
No
Job Complete
Job Finished
This flow shows how a Kotlin Job is created, started, runs, can be cancelled, and then finishes or cleans up.