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

x/async/mod.ts>Condition#notify_all

🦕 Asynchronous primitive modules loosely port from Python's asyncio for Deno.
Go to Latest
method Condition.prototype.notify_all
Re-export
import { Condition } from "https://deno.land/x/async@v1.1.5/mod.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.