MCPcopy Index your code
hub / github.com/jakesgordon/javascript-state-machine / pause

Function pause

test/lifecycle.js:493–493  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

491 var logger = new LifecycleLogger(),
492 start = Date.now(),
493 pause = function(ms) { return new Promise(function(resolve, reject) { setTimeout(function() { resolve('resolved') }, ms); }); },
494 fsm = new StateMachine({
495 transitions: [
496 { name: 'step', from: 'none', to: 'complete' }

Callers 1

lifecycle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected