Exhaustion

sealed interface Exhaustion<out T>(source)

Behavior after every supplied value has been consumed.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class Fallback<T>(val value: T) : ScriptedValues.Exhaustion<T>

Return value for every later call.

Link copied to clipboard

Repeat the last supplied value; an empty script throws ScriptedValues.Exhausted.