-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Hi Prasanna,
I have been using the stateless library however it didn't quite fill my needs, so I extended it to be initialized like so:
var machine = new StateMachine<State, Trigger, Context>
the reason behind this being that is I can have a WF factory that returns a machine with it own instance of a context that can be utilized through all the state events (OnEntry, OnExit etc).
As stateless doesn't support async await I am looking at your library and will probably implement something similar based on this.
The reason for my issue (no issue really) is to see if you have a view on this approach?
Cheers,
Dan
Reactions are currently unavailable