CoroutineContinuation

The CoroutineContinuation<T> interface

Represents the remainder of a suspended coroutine.

The continuation is executed when the needed result is available. The continuation is waiting on either a value, or, if no value is available, the exception which prevented it from being available.

Interface synopsis

interface CoroutineContinuation {...}