alternative

context(z: Steps<*>)
suspend fun <T> AltSteps.alternative(id: String = defaultID(), block: context(Step.State) suspend AltStep.() -> T)

Undoable alternative step


Alternative step


@JvmName(name = "alternativeWithContext")
context(step: Step.State)
fun alternative(): Nothing