Skip to content

Event.dropped

Grant Carthew edited this page Nov 21, 2016 · 2 revisions

Event Details

Subject: Queue

Signature: (queueId)

Returns: queueId String

  • The Queue.id for the Queue object which has been dropped.

Example:

const Queue = require('rethinkdb-job-queue')
const q = new Queue()

q.on('dropped', (queueId) => {
  console.log('Queue dropped: ' + queueId)
})

Description

The dropped event is raised when a Queue object is dropped by calling the Queue.drop method. This is a local process event only.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally