Skip to content

Commit fb523b7

Browse files
authored
Update README.md
1 parent 5182547 commit fb523b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ It returns a function that can be used to wrap any code you want to execute with
5757
```js
5858
const { withLock } = require('superlock')
5959

60-
const lock = createLock()
60+
const lock = withLock()
6161

6262
await lock(() => {
6363
/* your code execution */

0 commit comments

Comments
 (0)