Marc Knaup
10/14/2020, 1:03 PMval coroutineContext = parentScope.coroutineContext + CoroutineName("foo")
Is there a difference between GlobalScope.launch(coroutineContext) {…}
and CoroutineScope(coroutineContext).launch {…}
?louiscad
10/14/2020, 1:15 PMJob
instances created, unlike the first one. Other than this slight quite unnoticeable difference, the behavior is strictly the same.Marc Knaup
10/14/2020, 1:16 PMCoroutineContext
and need a CoroutineScope
and there is that neat factory 😄