Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Barrier

import type { Barrier } from "https://googleapis.deno.dev/v1/batch:v1.ts";

A barrier runnable automatically blocks the execution of subsequent runnables until all the tasks in the task group reach the barrier.

interface Barrier {
name?: string;
}

§Properties

§
name?: string
[src]

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.