finite_machine icon indicating copy to clipboard operation
finite_machine copied to clipboard

Introduce names for FiniteMachine instances

Open raw-bin opened this issue 3 years ago • 0 comments

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

  • [X] Tests written & passing locally? (NOTE: No new tests were added but existing tests were suitably updated)
  • [X] Code style checked?
  • [X] Rebased with master branch?
  • [X] Documentation updated?
  • [X] Changelog updated?

raw-bin avatar Aug 08 '21 16:08 raw-bin