sindresorhus / p-queue

Promise queue with concurrency control
MIT License
3.39k stars 182 forks source link

Timeout option question #183

Open Vedinsoh opened 1 year ago

Vedinsoh commented 1 year ago

Documentation mentions the following:

Per-operation timeout in milliseconds. Operations fulfill once timeout elapses if they haven't already.

Does that timeout apply to operations waiting in the queue that didn't start yet, those that are running (pending) or both? It's unclear from the text.