Scoop API

scoop:scoop.core:0.1.0

Continuation

interface Continuation

source · line 9
public
public interface Continuation<T>

Receives exactly one terminal value or exception from a coroutine. It does not itself provide scheduling or structured cancellation.

function resume

source · line 14
public
public fun resume(value: T): Unit

Completes the suspended computation with a value. A continuation must not be completed twice.