That would be correct implementation only if obser...
# coroutines
e
That would be correct implementation only if observable you are subscribing to ever emits only a single value. As soon as it emits the second one, the invocation of
Continuation.resume
will throw
IllegalStateException
.