co-priority-queue

JSON →
library 1.0.3 ·javascript deprecated
verified Jun 7, 2026

A simple priority queue implementation for the co generator-based control flow library, version 1.0.3. Provides push and next methods where next returns the highest priority item, blocking (yielding) when empty. Designed for Node.js with generators (co v4+). No longer actively maintained; alternatives include async/await-based queues or modern promise queues.