UNPKG

@hisorange/resistor

Version:

Versatily resource load throttler with extensible strategies, configuration and virtual thread management.

16 lines 640 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EVENTS = void 0; var EVENTS; (function (EVENTS) { EVENTS["FLUSH_INVOKED"] = "flush.invoked"; EVENTS["FLUSH_SCHEDULED"] = "flush.scheduled"; EVENTS["FLUSH_EXECUTED"] = "flush.executed"; EVENTS["WORKER_REJECTED"] = "worker.rejected"; EVENTS["WORKER_RETRYING"] = "worker.retrying"; EVENTS["THREAD_OPENED"] = "thread.opened"; EVENTS["THREAD_CLOSED"] = "thread.closed"; EVENTS["QUEUE_EMPTY"] = "queue.empty"; EVENTS["EMPTY"] = "empty"; })(EVENTS = exports.EVENTS || (exports.EVENTS = {})); //# sourceMappingURL=events.js.map