async-share
1.0.3 • Public • Published async-share
Call asynchronous methods at the same time, execute only once, and share the result
var asyncShare = require('async-share')
var oldMethod = function (a) {
}
var newMethod = asyncShare(oldMethod)
newMethod(1)
newMethod(2)
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.3 | 1 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.3 | 1 | |
1.0.2 | 0 | |
1.0.1 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads