transition

fun STM.transition(to: S)(source)

Unconditionally transitions to the to state within an STM transaction.