Skip to content

Commit

Permalink
Update "timed-out" in README
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed Sep 26, 2024
1 parent 0aebb0f commit bbf7f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class Atomics.Mutex {
//
// If timeout is not Infinity, only block for timeout milliseconds. If
// the operation timed out without acquiring the lock, returns
// "timed-out".
// null.
//
// If timeout is 0, returns immediately without blocking if the lock
// cannot be acquired.
Expand All @@ -238,7 +238,7 @@ class Atomics.Mutex {
static lockIfAvailable(mutex: Mutex,
timeout: Number,
unlockToken: UnlockToken|undefined = undefined)
: "timed-out"|UnlockToken;
: UnlockToken|null;
}
```
Expand Down

0 comments on commit bbf7f7d

Please sign in to comment.