W3cubDocs

/Kotlin

coroutineContext

Platform and version requirements: JVM (1.2), JS (1.2), Native (1.2)
inline suspend val coroutineContext: CoroutineContext

Continuation context of current coroutine.

This allows the user code to not pass an extra CoroutineContext parameter in basic coroutine builders like launch and async, but still provide easy access to coroutine context.

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines.experimental/coroutine-context.html