W3C

First Public Working Draft: Web Locks API

The Web Applications Working Group has published a First Public Working Draft of Web Locks API. This document defines a web platform API that allows script to asynchronously acquire a lock over a resource, hold it while work is performed, then release it. While held, no other script in the origin can acquire a lock over the same resource. This allows contexts (windows, workers) within a web application to coordinate the usage of resources.