Skip to content

Event.reanimated

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

Event Details

Subject: Job

Signature: (jobId)

Returns: jobId String

  • The Job.id for the job that has been reanimated.

Example:

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

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

Description

The reanimated event is raised whenever a job has been reanimated.

See the Queue.reanimateJob method for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally