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";

Barrier runnable blocks until all tasks in a taskgroup reach it.

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.