Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grm/deps.ts>Semaphore#runExclusive

MTProto API Client for Deno 🦕
Go to Latest
method Semaphore.prototype.runExclusive
import { Semaphore } from "https://deno.land/x/grm@v0.3.1/deps.ts";

Parameters

callback: SemaphoreInterface.Worker<T>

Returns

Promise<T>