Created
April 15, 2021 17:42
-
-
Save guilherme-teodoro/b75f43ab2bc1fc42b5041ea45f38a7ba to your computer and use it in GitHub Desktop.
Revisions
-
guilherme-teodoro created this gist
Apr 15, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ const machine = Machine({ initial: 'verde', states: { verde: { on: { PROXIMO: 'amarelo' } }, amarelo: { on: { PROXIMO: 'vermelho' } }, vermelho: { on: { RESETAR: 'verde' } } } })