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

x/async/mod.ts>Barrier#wait

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

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

Returns

Promise<void>