Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timursevimli committed Sep 14, 2024
1 parent 5ec9277 commit 3650ae5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
## Usage (promise API)

```js
'use strict';

const Kuyruk = require('kuyruk');
const { Kuyruk } = require('kuyruk');

const queue = new Kuyruk({ concurrency: 3 });

Expand All @@ -51,7 +49,7 @@ for (let i = 0; i < 10; i++) {
## Usage (callback process API)

```js
const Kuyruk = require('kuyruk');
const { Kuyruk } = require('kuyruk');

const queue = new Kuyruk({ concurrency: 3 });

Expand All @@ -78,7 +76,7 @@ for (let i = 0; i < 10; i++) {
## Usage (asynchronous process API)

```js
const Kuyruk = require('kuyruk');
const { Kuyruk } = require('kuyruk');

const queue = new Kuyruk({ concurrency: 3 });

Expand Down

0 comments on commit 3650ae5

Please sign in to comment.