Skip to content

Commit

Permalink
chore(fifoqueue): fix readme (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb authored Mar 11, 2024
1 parent 1e3db0b commit f44ab46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fifoqueue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ To use the queue, set `groupId` to group messages and process them in an ordered

## Installation

`sh
```sh
npm i @winglibs/fifoqueue
`
```

## Usage

`js
```js
bring fifoqueue;

let queue = new fifoqueue.FifoQueue();
Expand All @@ -28,7 +28,7 @@ queue.setConsumer(inflight (message: str) => {
test "will push to queue" {
queue.push("a new message", groupId: "myGroup");
}
`
```

## License

Expand Down

0 comments on commit f44ab46

Please sign in to comment.