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

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

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 getQueuedCallCount
import { getQueuedCallCount } from "https://deno.land/x/windmill@v1.354.0/node_modules/run-exclusive/dist/lib/runExclusive.d.ts";

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.

The classInstanceObject parameter is to provide only for the run-exclusive function created with 'buildMethod[Cb].

Parameters

runExclusiveFunction: Function
optional
classInstanceObject: Object

Returns

number