R/events.R
create_state_update_listener.Rd
a listener to be attached to a TargetedEvent to update state when that event fires.
TargetedEvent
create_state_update_listener(states, destination)
a CategoricalVariable object
CategoricalVariable
the destination state