Skip to content

Instantly share code, notes, and snippets.

@TheSisb
TheSisb / machine.js
Last active December 11, 2019 16:27
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / machine.js
Last active December 11, 2019 16:33
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / machine.js
Last active December 9, 2019 05:42
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / machine.js
Created December 9, 2019 05:38
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / machine.js
Created December 9, 2019 05:36
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / machine.js
Last active December 11, 2019 01:07
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@TheSisb
TheSisb / SketchSystems.spec
Created December 9, 2019 05:16
Elevator doors
Elevator doors
Closed*
OPEN_START -> Opening
Opening
OPEN_END -> Opened
Opened
CLOSE_START -> Closing
Closing
OPEN_START -> Opening
CLOSE_END -> Closed
@TheSisb
TheSisb / SketchSystems.spec
Last active December 9, 2019 06:21
Elevator doors
Elevator doors
@TheSisb
TheSisb / SketchSystems.spec
Created October 19, 2018 00:48
Server create
Server create
Selection
CREATE_SERVER -> Create
JOIN_SERVER -> Join
Join
BACK -> Selection
Create
Back -> Selection
@TheSisb
TheSisb / SketchSystems.spec
Last active October 18, 2018 21:37
Server create
Server create
Selection
CREATE_SERVER -> Create
JOIN_SERVER -> Join
Join
BACK -> Selection
Create
BACK -> Selection
New State Machine