Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smikhalevski committed Apr 26, 2024
1 parent aac5de6 commit 0c32715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ npm install --save-prod parallel-universe
- [`Blocker`](#blocker)
- [`PubSub`](#pubsub)
- [`repeat`](#repeat)
- [`retry`](#retry)
- [`waitFor`](#waitfor)
- [`delay`](#delay)
- [`timeout`](#timeout)
Expand All @@ -35,7 +36,7 @@ const promise = new AbortablePromise((resolve, reject, signal) => {
// Resolve or reject the promise
});

promises.abort();
promise.abort();
```

When [`abort`](https://smikhalevski.github.io/parallel-universe/classes/AbortablePromise.html#abort) is called,
Expand Down Expand Up @@ -65,7 +66,7 @@ promise.then(value => {
doSomething(value);
});

promises.resolve('Mars');
promise.resolve('Mars');
```

# `AsyncQueue`
Expand Down

0 comments on commit 0c32715

Please sign in to comment.