There was an error while loading. Please reload this page.
readme.md
1 parent 22d57bb commit 010f0baCopy full SHA for 010f0ba
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@jsdsl/semaphore",
3
- "version": "1.3.0",
+ "version": "1.3.1",
4
"description": "A Promise-based semaphore implementation.",
5
"publishConfig": {
6
"access": "public"
readme.md
@@ -321,7 +321,7 @@ console.log(lock.getID()); //=> '1343ee064f8fd176b797a1ee5b84d862'
321
322
#### `lock.waitForRelease()`
323
324
-`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.
325
326
```typescript
327
import { Semaphore, SemaphoreLock } from "@jsdsl/semaphore";
0 commit comments