"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cooldownTrigger = cooldownTrigger;
function cooldownTrigger(timeMs) {
    return async function* () {
        while (true) {
            await new Promise((resolve) => setTimeout(resolve, timeMs));
            yield;
        }
    };
}
//# sourceMappingURL=cooldownTrigger.js.map