Skip to content

Commit

Permalink
5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbielick committed Jun 22, 2021
1 parent 57d1ebc commit 149c204
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ await client.push(job);
<a name="module_faktory+work"></a>

### faktory.work(options) ⇒ <code>Promise</code>
Starts a worker. Doesn't resolve until the worker is shut down. Only call this
Starts a worker. Resolves after the worker is started. Only call this
once per-process.

**Kind**: instance method of [<code>faktory</code>](#module_faktory)
Expand Down Expand Up @@ -640,7 +640,6 @@ started per-process.

* [Worker](#Worker)
* [new Worker([options])](#new_Worker_new)
* [.inProgress](#Worker+inProgress)
* [.work()](#Worker+work)
* [.quiet()](#Worker+quiet)
* [.stop()](#Worker+stop) ⇒ <code>promise</code>
Expand Down Expand Up @@ -672,13 +671,6 @@ const worker = new Worker({

worker.work();
```
<a name="Worker+inProgress"></a>

### worker.inProgress
Returns an array of promises, each of which is a processor promise
doing work or waiting on fetch.

**Kind**: instance property of [<code>Worker</code>](#Worker)
<a name="Worker+work"></a>

### worker.work() ⇒
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faktory-worker",
"version": "5.0.0-0",
"version": "5.0.0",
"description": "A faktory worker framework for node apps",
"type": "commonjs",
"main": "./lib/faktory.js",
Expand Down

0 comments on commit 149c204

Please sign in to comment.