plus

Adds the specified coroutine context to this scope, overriding existing elements in the current scope's context with the corresponding keys.

This is a shorthand for CoroutineScope(thisScope.coroutineContext + context) and can be used as a combinator with existing constructors:

class MyActivity {
val uiScope = MainScope() + CoroutineName("MyActivity")
}