arvo-event-handler
Version:
Type-safe event handler system with versioning, telemetry, and contract validation for distributed Arvo event-driven architectures, featuring routing and multi-handler support.
11 lines (10 loc) • 332 B
JavaScript
;
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;