Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/async/condition.ts>Condition#notify_all

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

Wake up all tasks waiting on this condition.

This method acts like notify(), but wakes up all waiting tasks.

The lock must be acquired before this method is called and released shortly after. If called with an unlocked lock an Error is thrown.