Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
13
node_modules/generic-pool/lib/utils.js
generated
vendored
Normal file
13
node_modules/generic-pool/lib/utils.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
function noop() {}
|
||||
|
||||
/**
|
||||
* Reflects a promise but does not expose any
|
||||
* underlying value or rejection from that promise.
|
||||
* @param {Promise} promise [description]
|
||||
* @return {Promise} [description]
|
||||
*/
|
||||
exports.reflector = function(promise) {
|
||||
return promise.then(noop, noop);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue