
Limit concurrency of a function returning a promise.
var throttle = require("f-throttle")
var throttledFn = throttle(concurrency, anyFn)
throttleFn functions like anyFn, but throttled to a concurrency of concurrency, where concurency is a number equal or higher than one.
throttledFn returns a promise.anyFn must return a promise. If it does not, the promise returned by throttledFn will be rejected.The initial structure of this module was generated by Jumpstart, using the Jumpstart Black Coffee template.
f-throttle is released under the MIT License.
Copyright (c) 2013 Meryn Stol