Created
April 1, 2021 21:19
-
-
Save ecordell/2ba2a17bce9c63b0cc0cc33fcf253a98 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) | |
let obj = JSON.parse('{"id":".BundleMachine","initial":"NoBundlesToSync","states":{"BundleRequiresCleanup":{"id":".BundleRequiresCleanup"},"BundlesPresent":{"id":".BundlesPresent","states":{"BundleGenerationMatches":{"id":".BundleGenerationMatches","states":{"ContentNotSynced":{"id":".ContentNotSynced"},"ContentSynced":{"id":".ContentSynced"}},"on":{"BundleSync":[{"target":".ContentSynced"},{"target":".ContentNotSynced"}]}},"BundleNewGeneration":{"id":".BundleNewGeneration"}},"on":{"BundleSync":[{"target":".BundleGenerationMatches"},{"target":".BundleNewGeneration"}]}},"NoBundlesToSync":{"id":".NoBundlesToSync"}},"on":{"BundleSync":[{"target":".BundlesPresent"},{"target":".BundleRequiresCleanup"}],"ConfigMapSync":[]}}'); | |
const fetchMachine = Machine(obj); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment