feathers-bee
Installation
npm install feathers-bee --save
Documentation
Setup
app;
Plugin Args
- service: The service to log
- name: Name of the Queue
- queue: Settings of the Queue
- paginate: The default pagenate stuff
Bee Queue events
The bee-queue events are implemented as custom feathers events
Usage
- Create a new job: call create at the bee service to create a new job
- Get a job: call get with a job id to get a job
- Find jobs: call find at the bee service to find the waiting jobs
- change type with params
Complete Example
Here's an example of a Feathers server that uses feathers-bee
.
const feathers = ;const rest = ;const socketio = ;const handler = ;const bodyParser = ;const memory = ;const bee = ; // Create a feathers instance.const app = ; // Create any service you like.app; // Create bee serviceapp; // A basic error handler, just like Expressapp; // Start the servervar server = app;server;
License
Copyright (c) 2017
Licensed under the MIT license.