The Web Locks #API allows scripts to asynchronously acquire a lock over a resource, hold it while work is performed, then release it. Within a #WebApp, it helps coordinate the usage of resources #FPWD #timetogiveinput
w3.org/TR/web-locks/
This tweet is unavailable
1
1
Typical use cases are managing, coordinating and syncing multi-tab interactions. This specification is already largely implemented by modern Web browsers: caniuse.com/mdn-api_lock
1
Check also the explainer: github.com/w3c/web-locks/blo…
1
Feedback is welcome in the spec's #GitHub repo: github.com/w3c/web-locks/iss…
Jan 5, 2023 · 11:43 AM UTC

