Skip to main content

//clika-runtime/io.clika.runtime/Disposition

Disposition

[common]
enum Disposition : Enum<Disposition>

A session's outcome of one iterate step: keep stepping, done (its outputs are final), failed (see SessionStepResult.error), or set aside for lack of capacity and re-admitted later with its delivered chunks intact (only under CapacityPolicy.PREEMPT_LAST).

Entries​

CONTINUE[common]
CONTINUE
FINISH[common]
FINISH
ERROR[common]
ERROR
PREEMPTED[common]
PREEMPTED

Properties​

NameSummary
code[common]
val code: Int
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): Disposition
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<Disposition>
Returns an array containing the constants of this enum type, in the order they're declared.