Added the call to resolve in the example otherwise the promise is never fulfilled. Extended the example a little bit and made it runnable out of the box.
Added the call to resolve in the example otherwise the promise is never fulfilled. Extended the example a little bit and made it runnable out of the box.

JMPerez/promise-throttle