Skip to content

worker: implement Web Locks API

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/web-locks into main

This is based upon https://github.com/nodejs/node/pull/22719 and exposes the same API. Instead of a C++-backed approach, this variant implements the API mostly in JS.


Please feel free to push any changes that you think are reasonably uncontroversial to this branch yourself. 🙂 Tests are not going to pass until https://github.com/nodejs/node/pull/36501 is merged.

/cc @devsnek @benjamingr @nodejs/workers

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading