a really simple mutex jsr.io/@mary/mutex
typescript jsr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mutex#

JSR | source code

a really simple mutex.

const mutex = new Mutex();

{
	using _lock = await mutex.acquire();

	// ... go about your day
}