Skip to content

Commit

Permalink
docs: add isPaused to the reference
Browse files Browse the repository at this point in the history
  • Loading branch information
manast authored Sep 2, 2021
1 parent 9e62ddc commit b5d55ec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [Queue#add](#queueadd)
- [Queue#addBulk](#queueaddBulk)
- [Queue#pause](#queuepause)
- [Queue#isPaused](#queueispaused)
- [Queue#resume](#queueresume)
- [Queue#whenCurrentJobsFinished](#queuewhencurrentjobsfinished)
- [Queue#count](#queuecount)
Expand Down Expand Up @@ -364,6 +365,16 @@ Pausing a queue that is already paused does nothing.

---

### Queue#isPaused

```ts
isPaused(isLocal?: boolean): Promise<boolean>
```

Checks if the queue is paused. Pass true if you need to know if this particular instance is paused.

---

### Queue#resume

```ts
Expand Down

0 comments on commit b5d55ec

Please sign in to comment.