UNPKG

@cemusta/nestjs-pulse

Version:

The modern MongoDB-powered scheduling library pulse for NestJS

15 lines 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pulseFactory = pulseFactory; const tslib_1 = require("tslib"); const pulse_1 = tslib_1.__importDefault(require("@pulsecron/pulse")); function pulseFactory(queueConfig, rootConfig) { const pulseConfig = { ...rootConfig, ...queueConfig, }; delete pulseConfig.db; delete pulseConfig.mongo; return new pulse_1.default(pulseConfig); } //# sourceMappingURL=pulse.factory.js.map