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

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

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

Functions

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

(Read all before using)

Same as build but to restrict the exclusion to a class instance object.

(Read all before using)

Cancel all queued calls of a run-exclusive function. Note that the current running call will not be cancelled.

Return a promise that resolve when all the current queued call of a runExclusive functions have completed.

Get the number of queued call of a run-exclusive function. Note that if you call a runExclusive function and call this directly after it will return 0 as there is one function call execution ongoing but 0 queued.

Tell if a run-exclusive function has an instance of it's call currently being performed.