Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared Context between States #35

Open
etiennecl opened this issue Mar 15, 2022 · 0 comments
Open

Shared Context between States #35

etiennecl opened this issue Mar 15, 2022 · 0 comments

Comments

@etiennecl
Copy link

etiennecl commented Mar 15, 2022

Hi,

I've come across your library coming from the original js library and wanting to implement a state machine in dotnet. As per your wiki:

Each state of the state machine is an atomic execution context. In real life each state is not aware of any other state.
However they can share data layer, for example, to react on any changes in the "outside world" of the state.

Although I have not been able to grasp how to integrate the idea of a share data layer when across the States of the machine when using this library.

For reference, here is the capabilities I'm referring too from the original library (https://xstate.js.org/docs/guides/context.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant