sindresorhus / p-queue

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

Feature/invoke event #210

Open RaishavHanspal opened 1 month ago

RaishavHanspal commented 1 month 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.