Skip to content

Commit

Permalink
Fixed typo in readme.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
T99 committed Sep 18, 2021
1 parent 22d57bb commit 010f0ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsdsl/semaphore",
"version": "1.3.0",
"version": "1.3.1",
"description": "A Promise-based semaphore implementation.",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ console.log(lock.getID()); //=> '1343ee064f8fd176b797a1ee5b84d862'

#### `lock.waitForRelease()`

`lock.then(...)` returns a Promise that will resolve to the string ID of this lock once this lock is released.
`lock.waitForRelease(...)` returns a Promise that will resolve to the string ID of this lock once this lock is released.

```typescript
import { Semaphore, SemaphoreLock } from "@jsdsl/semaphore";
Expand Down

0 comments on commit 010f0ba

Please sign in to comment.