Skip to content

Event.ready

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

Event Details

Subject: Queue

Signature: (queueId)

Example:

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

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

Description

The ready event is raised once the Queue object is in a ready state. To become ready the Queue object asserts that the RethinkDB server is accessible, the database exists, and the queue table exists. If they do not exist they are created.

See the Queue.ready property for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally