Skip to content

Commit 9dff653

Browse files
Fix usage example (#222)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
1 parent eda5a84 commit 9dff653

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

readme.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ const queue = new PQueue({concurrency: 1});
6363
await queue.add(() => got('https://avajs.dev'));
6464
console.log('Done: avajs.dev');
6565
})();
66-
67-
(async () => {
68-
const task = await getUnicornTask();
69-
await queue.add(task);
70-
console.log('Done: Unicorn task');
71-
})();
7266
```
7367

7468
## API

0 commit comments

Comments
 (0)