CodeBrowser / npm / @wordpress/priority-queue
@wordpress/priority-queue@3.51.0
// Generic browser priority queue.
$ npm install @wordpress/priority-queue
downloads/wk
301,309
license
GPL-2.0-or-later
version
3.51.0
published
Jul 14, 2026
What is @wordpress/priority-queue?
@wordpress/priority-queue is a JavaScript library that implements a priority queue data structure for the browser, allowing you to manage and execute tasks in order of priority rather than in the order they were added. Developers use it to optimize performance in applications that need to handle multiple asynchronous operations, ensuring that critical tasks are processed before less important ones.
Keywords
#wordpress #gutenberg #browser #async
Dependencies (1)
Maintainers
garypendergast, adamsilverstein, gziolo, ntwb, riad, noisysocks, kadamwhite, gutenbergplugin, jorgefilipecosta, ellatrix, iandunn206, whyisjake, ockham, sirreal, nosolosw, wpisabel, ntsekouras, nerrad, desrosj, talldanwp, peterwilsoncc, ryanwelcher, mamaduka, aduth