This PR introduces the ability to specify an optional name for new FiniteMachine instances.
Why are we doing this?
Currently transition logs don't specify the FiniteMachine for which event transitions happen. This makes it hard to understand or post process the logs.
Benefits
It will now be possible to disambiguate event transitions that occur in the context of different FiniteMachine instances.
Drawbacks
None.
Requirements
[X] Tests written & passing locally? (NOTE: No new tests were added but existing tests were suitably updated)
Describe the change
This PR introduces the ability to specify an optional name for new FiniteMachine instances.
Why are we doing this?
Currently transition logs don't specify the FiniteMachine for which event transitions happen. This makes it hard to understand or post process the logs.
Benefits
It will now be possible to disambiguate event transitions that occur in the context of different FiniteMachine instances.
Drawbacks
None.
Requirements
master
branch?