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

x/mtkruto/utilities/0_queue.ts>Queue

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Queue
import { Queue } from "https://deno.land/x/mtkruto@0.1.105/utilities/0_queue.ts";

Constructors

new
Queue(name: string)

Properties

private
busy: boolean
private
d: ReturnType<debug>
private
functions: Array<() => Promise<void>>

Methods

private
check()
add(fn: () => Promise<void>)