Souvik Das
Souvik Das
Can you please give me an example of the transition handler approach?
What do you think about `state.enter()` accepting an argument? Something along these lines, ``` State stateA = machine.newState(Data()); Custom? customObject; stateA.enter(customObject); ``` Internally, the state can hold the data as...
I agree that this would be not backwards compatible. Adding `C` per `State` would make the API more useful, but like you said, things like `machine.current` would have to return...
Thank you for your response. Let me try this and get back to you.
@sachaarbonel won't the first call be paginated?