A Transition class that manages state transitions based on listeners and conditions.
Creates a new Transition instance. If no listeners are provided, the transition will automatically match on the next event loop.
An object containing listeners, check function, and optional onMatch and onMismatch functions.
Starts all listeners for this transition.
Stops all listeners for this transition.
A Transition class that manages state transitions based on listeners and conditions.