I know enough about coroutines-dispatchers-lifecycle scopes-async await. And it is obvious that all scope.launch functions returns job which we can manage coroutine lifecycle. Only thing i can not understand is custom scopes which we create with custom job.
For example:
val myJob = Job()
val customCoroutineScope= CoroutineScope(Dispatchers.IO+myJob)
i thought that after these code snippet i can launch scope and manage it's lifecycle and stuff with myJob reference but it didn't work. Can someone explain me purpose and benefit of this custom scoping?