Queues a function, which is called when the throttling allows it.
Optionalopts: QueueOptionsA promise resolved or rejected with the result of the function. If the function throws, the promise is rejected with the thrown error.
Queues several functions with the same options.
Optionalopts: QueueOptionsA promise resolved with the results of all the functions, in the same order, or rejected with the first error.
Limits the amount of functions returning promises that are called per second.
Example