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

x/grm/mod.ts>extensions.AsyncQueue

MTProto API Client for Deno 🦕
Go to Latest
class extensions.AsyncQueue
import { extensions } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { AsyncQueue } = extensions;

Constructors

new
AsyncQueue()

Properties

private
canGet: Promise<unknown>
private
canPush: boolean | Promise<boolean>
private
resolveGet: (value?: any) => void
private
resolvePush: (value?: any) => void
_queue: any[]

Methods

pop()
push(value: any)