Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/channel/mod.ts>Mutex.Constructors

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
interface Mutex.Constructors
import { type Mutex } from "https://deno.land/x/rimbu@1.2.1/channel/mod.ts";
const { Constructors } = Mutex;

Defines the static Mutex API.

Methods

create(): Mutex

Returns a new Mutex instance that can be used to enforce single access to a shared resource.