compwright/feathers-bee-queue

View on GitHub
lib/index.js

Summary

Maintainability
A
0 mins
Test Coverage
const JobService = require('./JobService');

module.exports = (options = {}) => {
  if (!options.queue) {
    throw new Error('Missing queue parameter');
  }
  return new JobService(options);
};