You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

buuus

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buuus

Message bus on the top of the kue

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

buuus

A simple task/job service built on top of kue/redis

Usage:

As worker:

var Buuus = require('buuus'),
    service = new Buuus('queue-name', Actor);

service.listen(function() {
  console.log('ready');
});

As client:

var Buuus = require('buuus'),
    service = new Buuus('queue-name'),
    payload = 'Data to pass';

service.emit({
  action: 'someFunctionOfActor',
  data: payload
})
.then(function(res) {
  console.log(res);
});

Workflow

  • Add more examples
  • Add ability to add handler functions

FAQs

Package last updated on 24 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts