UNPKG

arvo-xstate

Version:

This package allows you to use xstate Actors and State Machines to act as orchestrators in an Arvo Event Driven System

11 lines (10 loc) 332 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.promiseTimeout = void 0; var promiseTimeout = function (timeout) { if (timeout === void 0) { timeout = 10; } return new Promise(function (resolve) { setTimeout(resolve, timeout); }); }; exports.promiseTimeout = promiseTimeout;