1.0.0 • Published 9 years ago
one-at-a-time v1.0.0
one-at-a-time
let async functions run one at a time
one(fn)
Given a function that takes a callback, return a version that only permits one callbacker to run at a time
Parameters
parameter | type | description |
---|---|---|
fn | Function | input |
Returns Function
, one-at-a-time limited version
Installation
Requires nodejs.
$ npm install one-at-a-time
Tests
$ npm test
1.0.0
9 years ago