W3cubDocs

/Kotlin

coroutineContext

inline suspend val coroutineContext: CoroutineContext

Platform and version requirements: Kotlin 1.2

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–2018 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