Skip to content

Queue.resume

Grant Carthew edited this page Aug 18, 2016 · 5 revisions

Method Signature

Queue.resume()

Returns: Promise => true

  • Will only ever return true.

Example:

q.resume().then(() => {
  // The queue will now be running.
}).catch((err) => {
  console.error(err)
})

Description

There is only one time you should call Queue.resume and that is after calling Queue.pause. There is nothing wrong with pausing and resuming the Queue object.

Warning: You can not resume a stopped Queue object.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally