W3cubDocs

/Kotlin

COROUTINE_SUSPENDED

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
val COROUTINE_SUSPENDED: Any

This value is used as a return value of suspendCoroutineUninterceptedOrReturn block argument to state that the execution was suspended and will not return any result immediately.

Note: this value should not be used in general code. Using it outside of the context of suspendCoroutineUninterceptedOrReturn function return value (including, but not limited to, storing this value in other properties, returning it from other functions, etc) can lead to unspecified behavior of the code.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines.intrinsics/-c-o-r-o-u-t-i-n-e_-s-u-s-p-e-n-d-e-d.html