suprnation / cats-actors

Cats Actors framework for building apps which are reactive. Cats actors uses a conceptual actor model as a higher level abstraction for concurrency.
Apache License 2.0
80 stars 7 forks source link

feat: Adds current state name and data getters to FSM StateManager #16

Closed PetrosPapapa closed 1 month ago

PetrosPapapa commented 2 months ago

This PR adds references to the current state name and data in the FSM StateManager. This allows the user to get that information for their own use, including for debugging purposes, without triggering any transitions.

This is in line with the original Akka FSM implementation that has these available.