Qyu

Holds, controls and reports on execution of a queue of asynchronous jobs.

new Qyu(opts: any)

Extends EventEmitter

Parameters
opts (any)
Instance Members
▸ push(job, opts)
▸ pause()
▸ start()
Events
▸ stats
▸ error
▸ done
▸ drain

RateLimiter

Counts jobs per second to provide stats and commit to rating limit.

new RateLimiter(opts: any)

Extends EventEmitter

Parameters
opts (any)
Instance Members
▸ jobStarted()
▸ jobEnded()
▸ canRunMore()
▸ waitForDrain()
Events
▸ stats
▸ drain