coroutineContext

The context of this scope.

The context represents various execution properties of the coroutines launched in this scope, such as the dispatcher or the procedure for handling exceptions without a propagation path. Except GlobalScope, a job instance for enforcing structured concurrency must also be present in the context of every CoroutineScope. See the documentation of CoroutineScope for details.

Accessing this property in general code is not recommended for any purposes except accessing the Job instance for advanced usages.