jessetane / queue

Asynchronous function queue with adjustable concurrency
MIT License
764 stars 66 forks source link

Add job in an async manner #27

Closed tnguyen14 closed 7 years ago

tnguyen14 commented 7 years ago

Is there a way to start the queue, but add jobs to it in an async manner (at some later point in the future), so the jobs can be executed as and when they arrive in the queue?

jessetane commented 7 years ago

sure, you can add jobs to a queue at any time.

jessetane commented 7 years ago

if the queue has already ended you would need to call start again.

jessetane commented 7 years ago

take a look at #22 also.

jessetane commented 7 years ago

Fixed by #28