Skip to content

Commit

Permalink
fix #103 - note that extend returns new instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-marcacci committed Mar 6, 2022
1 parent 54de94c commit 545d692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ try {
// Do something...
await something();

// Extend the lock.
// Extend the lock. Note that this returns a new `Lock` instance.
lock = await lock.extend(5000);

// Do something else...
Expand Down

0 comments on commit 545d692

Please sign in to comment.