Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinCOROUTINE_SUSPENDED sentinelSingle-choice MCQ

A developer calls `getValue()` below from a non-suspending context by manually building a `Continuation` and invoking the compiled method. The first invocation returns `COROUTINE_SUSPENDED`. What must be true about the value object they compare against?

suspend fun getValue(): String { delay(5); return "ok" }