Skip to content

Instantly share code, notes, and snippets.

@elinux9000
elinux9000 / machine.js
Last active April 3, 2020 18:04
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@elinux9000
elinux9000 / machine.js
Created August 23, 2020 15:12
Generated by XState Viz: https://xstate.js.org/viz
//https://xstate.js.org/viz/?gist=https://gist.github.com/monzie9000/8006ab6c5db67c596802c73a6ab2a3a5
//https://app.lucidchart.com/documents/edit/de713c94-5b57-4100-a486-2fbdef83f28d/HWEp-vi-RSFO?beaconFlowId=DB76397B0359590F
"use strict";
const debug = false;
var pointer_upulse; //pointer that is used to update upulse
if (visualizing())
debugLog("VIZ", debug);
else
debugLog("LOCAL", debug);