Skip to content

Event.updated

Grant Carthew edited this page Sep 19, 2016 · 2 revisions

Event Details

Subject: Job

Signature: (jobId)

Returns: jobId String

  • The Job.id for the job that has been updated in the queue.

Example:

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

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

Description

The updated event is raised whenever a job in the queue is changed by using the Job.update method.

See the Job.update and Job Editing documents for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally