rename project to esqueue
This commit is contained in:
16
readme.md
16
readme.md
@@ -1,12 +1,18 @@
|
||||
[](https://travis-ci.org/w33ble/elastique) [](https://codecov.io/gh/w33ble/elastique)
|
||||
[](https://travis-ci.org/w33ble/esqueue) [](https://codecov.io/gh/w33ble/esqueue)
|
||||
|
||||
# Elasticsearch-powered job queue
|
||||
# esqueue
|
||||
|
||||
WIP, working title
|
||||
`esqueue` is an Elasticsearch-powered job queue
|
||||
|
||||
## Installation
|
||||
|
||||
`npm install esqueue`
|
||||
|
||||
## Usage
|
||||
|
||||
Still not ready for publishing to npm...
|
||||
Simply include the module in your application.
|
||||
|
||||
`var Esqueue = require('esqueue');`
|
||||
|
||||
### Creating a queue
|
||||
|
||||
@@ -16,7 +22,7 @@ The first step is to create a new Queue instance. This is your point of entry, i
|
||||
var index = 'my-index';
|
||||
var options = {};
|
||||
|
||||
var queue = new Elastique(index, options);
|
||||
var queue = new Esqueue(index, options);
|
||||
```
|
||||
|
||||
The queue instance is an event emitter, so you can listen for `error` events as you would any other event emitter.
|
||||
|
||||
Reference in New Issue
Block a user