@html_first/simple_queue
v1.3.1
Published
base queue handler for @html_first packages
Downloads
71
Maintainers
Readme
simple_queue
- made for queue handler for
@html_first
internals; - but are generally capable enough for general usages;
how to install
npm i @html_first/simple_queue
queue 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
}));