node-singleflight
Version:
provides a duplicate function call suppression
11 lines (8 loc) • 301 B
JavaScript
// node-singleflight
// Provides duplicate function call suppression for concurrent calls.
// func should use a timeout or cancellation when the underlying operation
// may never settle; otherwise the key remains in flight indefinitely.
const Do = require('./lib/do')
module.exports = {
Do: Do,
}