UNPKG

arvo-event-handler

Version:

A complete set of orthogonal event handler and orchestration primitives for Arvo based applications, featuring declarative state machines (XState), imperative resumables for agentic workflows, contract-based routing, OpenTelemetry observability, and in-me

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;