givenWith

fun givenWith(condition: (S, E) -> Boolean): EventTransitionBuilder<S, E, T>

Adds a guard condition that uses both state and event.