tc39 / proposal-atomics-wait-async

"asynchronous atomic wait" for ECMAScript
https://tc39.github.io/proposal-atomics-wait-async/
Other
89 stars 18 forks source link

Simplify alarm functions (#15) #18

Closed syg closed 4 years ago

syg commented 5 years ago

@littledan Per your suggestion in #15 this is significantly simpler. I like this version very much, even though it handwaves over how timeouts might be implemented and what values an alarm captures, the observable behavior is very clear.

This PR doesn't try to do anything with #17.