Regular Job
Regular Job()
, this is the default job that is used by scopes. See Job for more info.
By default I mean: Unless you explicitly created SupervisedJob()
, or used supervisedScope
. Then you are using regular Job
.
Job
is created even when you don't create it by hand methods like runBlocking()
,async()
,launch()
create it behind the scenes. Each co-routine has Job instance see Coroutine Diagram for visualization.
The importance of this Job is that it creates Exception/Cancellation Behavior with Regular Job
Children
Backlinks