> navigator.locks.request("my_resource", async (lock) => {
This would be so much more readable with `using`
{
using lock = navigator.lock('my_resource');
await do_something();
await do_something_else();
}
(https://github.com/tc39/proposal-explicit-resource-managemen...)