is there a way to get the associated `Job` from a ...
# coroutines
k
is there a way to get the associated
Job
from a coroutine context?
d
coroutineContext[Job]
?
k
what do you pass in for
Job
there?
I'm trying to get the job off of
lifecycleScope
d
val job = lifecycleScope.coroutineContext[Job]
.
what do you pass in for
Job
there?
What do you mean?
The companion object of
Job
is passed in.
k
Okay that makes more sense I think
thanks!
g
what do you pass in for
Job
there?
Just curious. Why do you need this?
k