Skip to content

Event.removed

Grant Carthew edited this page Aug 20, 2016 · 1 revision

Event Details

Subject: Job

Signature: (jobId)

Returns: jobId String

  • The Job.id for the job that has been removed from the queue.

Example:

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

q.on('removed', (jobId) => {
  console.log('Job removed: ' + jobId)
})

Description

The removed event is raised whenever a new job is removed from the queue.

See the Queue.removeJob method and the changeFeed queue option for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally