Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lock.ts

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/lock.ts";

A mutual exclusion mechanism for concurrent operations and protecting shared data.

Classes

Mutual Exclusion prevents multiple coroutines from accessing the same shared resource simultaneously.

c
Mutex.Lock
abstract

Functions

Acquires a mutex lock for the given key in order to perform concurrent operations and prevent conflicts.