Skip to main content

Built and signed on GitHub Actions

Asynchronous primitive utility pack

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Browsers
JSR Score
100%
Published
5 months ago (1.2.0)

Classes

c
Lock

A mutual exclusion lock that provides safe concurrent access to a shared value.

Add Package

deno add jsr:@core/asyncutil

Import symbol

import * as mod from "@core/asyncutil/lock";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@core/asyncutil/lock";

Add Package

npx jsr add @core/asyncutil

Import symbol

import * as mod from "@core/asyncutil/lock";

Add Package

yarn dlx jsr add @core/asyncutil

Import symbol

import * as mod from "@core/asyncutil/lock";

Add Package

pnpm dlx jsr add @core/asyncutil

Import symbol

import * as mod from "@core/asyncutil/lock";