Socket
Socket
Sign inDemoInstall

kue_listener

Package Overview
Dependencies
11
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kue_listener

listening to kue.js events


Version published
Maintainers
1
Created

Readme

Source

KueListener

Listens to remote kues for job status events.

Example:


var KueListener = require("./KueListener");
var kuelistener = new KueListener({"host": "172.18.0.6"}, function(message){
    console.log(message);   
});

Messages

Returns the following example messages, with events: enqueue, start and complete

  • {"id":198,"event":"enqueue","args":["enqueue","analysisJob"]}
  • {"id":198,"event":"start","args":["start","analysisJob",null]}
  • {"id":198,"event":"complete","args":["complete",null,null]}

FAQs

Last updated on 21 Mar 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc