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

x/windmill/node_modules/run-exclusive/dist/lib/runExclusive.d.ts>build

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function build
import { build } from "https://deno.land/x/windmill@v1.354.0/node_modules/run-exclusive/dist/lib/runExclusive.d.ts";

Built a run-exclusive function from a function that return a promise.

Type Parameters

T extends (...input: any[]) => Promise<any>

Built a run-exclusive function from a function that return a promise.

The group ref parameter is used when in need that two or more different functions do nor run simultaneously. Group refs are created by calling createGroupRef().

Type Parameters

T extends (...input: any[]) => Promise<any>

Parameters

groupRef: GroupRef
fun: T