UNPKG

twitch-js

Version:

Javascript library for the Twitch Messaging Interface.

12 lines (11 loc) 292 B
import PQueue from 'p-queue'; declare type Options = ConstructorParameters<typeof PQueue>[0]; declare class Queue { private _q; constructor(options?: Options); push: ({ fn, priority }: { fn: any; priority?: number; }) => Promise<void>; } export default Queue;