Skip to main content
Module

x/grm/extensions/async_queue.ts>AsyncQueue

MTProto API Client for Deno 🦕
Latest
class AsyncQueue
import { AsyncQueue } from "https://deno.land/x/grm@0.8.2/extensions/async_queue.ts";

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)