UNPKG

agenda

Version:

Light weight job scheduler for Node.js

14 lines (12 loc) 284 B
'use strict'; const debug = require('debug')('agenda:name'); /** * Set name of queue * @param {String} name name of agenda instance * @returns {exports} agenda instance */ module.exports = function(name) { debug('Agenda.name(%s)', name); this._name = name; return this; };