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'
}
}
}},
{}
);