dhenning
12/12/2019 - 4:58 AM

Generated by XState Viz: https://xstate.js.org/viz

Generated by XState Viz: https://xstate.js.org/viz


  // Available variables:
  // - Machine
  // - interpret
  // - assign
  // - send
  // - sendParent
  // - spawn
  // - raise
  // - actions
  // - XState (all XState exports)
  
  const fetchMachine = Machine({
    id: 'force',
    initial: 'light',
    context: {},
    states: {
      light: {
        on: {
          CORRUPT: 'dark'
        }
      },
      dark: {
        on: {
          REDEEM: 'light'
        }
      }
    }},
    {}
  );