Skip to content

Implementing a queue: Transitioning to state X from another state machine is not possible #85

Answered by nsk90
reactormonk asked this question in Q&A
Discussion options

You must be logged in to vote

Yes you can pass your data along with Events and store it in States (states are mutable by nature).
I dont think that DataExtractor is suitable for data transformation. DataState+DataEvent api is a implementation of typical data-passing use case. If it is too strict and does not fit your needs, you can use simple States and Events just storing your data in State fields and updating its manually from incoming Events.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@reactormonk
Comment options

@nsk90
Comment options

@reactormonk
Comment options

@nsk90
Comment options

Answer selected by reactormonk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants