Skip to main content
Module

x/run_exclusive/mod.ts>isRunning

βš‘πŸ”’ Wait queue for function execution πŸ”’ ⚑
Go to Latest
function isRunning
import { isRunning } from "https://deno.land/x/run_exclusive@v2.2.18/mod.ts";

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

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

Parameters

runExclusiveFunction: Function
optional
classInstanceObject: Object

Returns

boolean