sindresorhus / p-queue

Promise queue with concurrency control
MIT License
3.48k stars 185 forks source link

Feature/invoke event #210

Closed RaishavHanspal closed 6 days ago

RaishavHanspal commented 4 months ago

There is a use-case to identify when a certain promise function is invoked/started. To cater this requirement a new event invoke is added in type EventName, this can be listened on queue and sends the id parameter.