Skip to main content
Module

x/run_exclusive/mod.ts>buildMethod

⚡🔒 Wait queue for function execution 🔒 ⚡
Go to Latest
function buildMethod
import { buildMethod } from "https://deno.land/x/run_exclusive@v2.2.18/mod.ts";

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

Type Parameters

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

Type Parameters

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

Parameters

groupRef: GroupRef
fun: T