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

x/async/mod.ts>Barrier#wait

🦕 Asynchronous primitive modules for Deno.
Go to Latest
method Barrier.prototype.wait
import { Barrier } from "https://deno.land/x/async@v2.0.2/mod.ts";

Wait for all threads to reach the barrier. Blocks until all threads reach the barrier.

Returns

Promise<void>