Skip to content

Queue.paused

Grant Carthew edited this page Oct 1, 2016 · 2 revisions

Property Details

Usage: Read Only

Get: Boolean

  • Returns true or false depending on if the Queue object is paused or not.

Example:

const Queue = require('rethinkdb-job-queue')
const q = new Queue()
let paused = q.paused()
// paused === false

q.pause().then(() => {
  paused = q.paused
  // paused === true
}).catch(err => console.error(err))

Description

See Queue.pause and Queue.resume 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