Skip to content

Instantly share code, notes, and snippets.

@fusionstrings
Last active May 4, 2020 18:39
Show Gist options
  • Save fusionstrings/0028398a859c8c43bed900b29a3594cb to your computer and use it in GitHub Desktop.
Save fusionstrings/0028398a859c8c43bed900b29a3594cb to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
const blitzino = {
initial: 'franchise',
states: {
franchise: {
on: {
GET_FRANCHISE: 'locale',
states: {
franchise: {
on: {
GET_FRANCHISE: 'locale',
},
states: {
locale: {
on: {
GET_LOCALE: 'success',
},
},
success: {},
},
success: {},
},
success: {},
},
},
},
success: {},
},
};
const saberMachine = Machine({
id: 'saber',
type: 'parallel',
states: {
blitzino,
casinostugan: {},
comeon: {},
comeoncasino: {},
folkeautomaten: {},
galaksino: {},
getlucky: {},
hajper: {},
mobilautomaten: {},
mobilebet: {},
nopeampi: {},
pzbuk: {},
snabbare: {},
suomikasino: {},
spilnemt: {},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment