Never worry about race conditions again!
LockDB is a cross-platform tool you can use to handle process/event locking and avoid race conditions. It is sometimes also known as a semaphore.
There are packages for Node.js / Browser / Bun / NPM, Deno, and you can also use it as a CLI.
If you need to handle locking, you've come to the right place.
No credit card required.
$15 / month or $150 / year after.