Closed dead-claudia closed 1 month ago
Something like a .lockAsync() on mutexes would be very nice. There's already precedent in Atomics.waitAsync(...), and it'd fit in better with the world of async.
.lockAsync()
Atomics.waitAsync(...)
Missed https://github.com/tc39/proposal-structs/blob/main/ASYNC-LOCKING-WAITING.md
Something like a
.lockAsync()
on mutexes would be very nice. There's already precedent inAtomics.waitAsync(...)
, and it'd fit in better with the world of async.