def transition_to(to_state, timing='after'):
    return create_transition(timing, '*', to_state)
Trigger the decorated function whenever transitioning
dataset/ETHPy150Open kyleconroy/statemachine/statemachine.py/transition_to