step

abstract fun step(state: State): StepResult

Executes the next step of the function.

Return

The result of the step.

Parameters

state

The state to execute in.