@html_first/simple_queue
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

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

exported-api-and-type-list

_Queue

*) go to exported list

queue handler with unique id;

*) go to exported list

_QueueFIFO

*) go to exported list

queue handler first in first out;

*) go to exported list

_QueueObject

*) go to exported list

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
}));

*) go to exported list

_QueueObjectFIFO

*) go to exported list

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
}));

*) go to exported list

Package Sidebar

Install

npm i @html_first/simple_queue

Weekly Downloads

101

Version

1.3.1

License

MIT

Unpacked Size

11.8 kB

Total Files

15

Last publish

Collaborators

  • hakim_jazuli