fastq is a high-performance in-memory work queue for JavaScript and Node.js applications. It runs tasks through a worker function while enforcing a configurable concurrency limit. Both traditional callback workers and Promise-based async workers are supported. Tasks can be added to either the front or back of the queue depending on scheduling needs. Processing can be paused, resumed, emptied, or terminated while exposing the current queue length and idle state. Hooks report conditions such as drain, saturation, empty queues, and task errors. TypeScript definitions are included, and the package is designed to provide queue management with very little performance overhead.

Features

  • Configurable task concurrency
  • Callback and Promise worker APIs
  • Front and back task insertion
  • Pause and resume controls
  • Queue length, idle, and inspection methods
  • Drain, saturation, empty, and error hooks

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

ISC License

Follow fastq

fastq Web Site

Other Useful Business Software
Veeam Data Platform v13.1 - Get Your Free Trial Icon
Veeam Data Platform v13.1 - Get Your Free Trial

Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fastq!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2 days ago