await-mutex
Promised based Mutex
Promised based Mutex
optimally parallelize tasks that lock on potentially intersecting sets of ids
Well... I got a very bad mutex implementation from GPT. I had to design one from scratch.. Is this the AI that is supposed to take my job? lol
A Promise-based semaphore implementation.