1.3.1 • Published 12 months ago
@html_first/simple_queue v1.3.1
simple_queue
- made for queue handler for
@html_firstinternals; - but are generally capable enough for general usages;
how to install
npm i @html_first/simple_queuequeue handler with unique id;
queue handler first in first out;
debouncing using unique id in conjuction with _Queue;
// @ts-check
import { _Queue, _QueueObject } from '@html_first/simple_queue';
$queue = new _Queue();
$queue.assign( ...new _QueueObject({
...options
}));debouncing first in first out in conjuction with _QueueFIFO
// @ts-check
import { _QueueFIFO, _QueueObjectFIFO } from '@html_first/simple_queue';
$queue = new _QueueFIFO();
$queue.assign( ...new _QueueObjectFIFO({
...options
}));