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

x/async/mod.ts>BoundedSemaphore#release

🦕 Asynchronous primitive modules loosely port from Python's asyncio for Deno.
Go to Latest
method BoundedSemaphore.prototype.release
import { BoundedSemaphore } from "https://deno.land/x/async@v1.1.5/mod.ts";

Release a semaphore, incrementing the internal counter by one. Can wak up a task waiting to acquire the semaphore.