Last active
March 23, 2020 09:13
-
-
Save johnnydecimal/12cd298a3db89e1ff7abf6d8b8e81f41 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains hidden or 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
// Linked to play.jd.com. | |
// Do not delete or edit. | |
const jdLanguage = Machine({ | |
id: 'jdLanguage', | |
initial: 'start', | |
states: { | |
start: { | |
on: { | |
FIND_AREA: 'area_detected', | |
FIND_EOF: 'eof', | |
FIND_OTHER: 'error', | |
}, | |
}, | |
'area_detected': { | |
}, | |
eof: {}, | |
error: {}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment