{"_id":"@vates/coalesce-calls","_rev":"29-cc23353ae137f1af6811435c03636a9a","name":"@vates/coalesce-calls","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@vates/coalesce-calls","version":"0.1.0","keywords":["async","calls","coalesce","decorate","decorator","merge","promise","wrap","wrapper"],"author":{"url":"https://vates.fr","name":"Vates SAS"},"license":"ISC","_id":"@vates/coalesce-calls@0.1.0","maintainers":[{"name":"olivierlambert","email":"olivier.lambert@vates.fr"},{"name":"marsaud","email":"marsaud.fabrice@neuf.fr"},{"name":"julien-f","email":"julien.fontanet@isonoe.net"}],"homepage":"https://github.com/vatesfr/xen-orchestra/tree/master/@vates/coalesce-calls","bugs":{"url":"https://github.com/vatesfr/xen-orchestra/issues"},"dist":{"shasum":"213b4d84f47af2c10704f1f9056d75f19c168327","tarball":"https://registry.npmjs.org/@vates/coalesce-calls/-/coalesce-calls-0.1.0.tgz","fileCount":3,"integrity":"sha512-ZFg2hSfHpdC91KxgfNW7MPRjriB+z9thir00r3zwGKa+b73Zk6Twi4KBEHhIT7hhJOfay8ODkd/maK9BBl6jlg==","signatures":[{"sig":"MEYCIQChEn1oLMxizYhVAUuRrZ1ZxN0YaHYJVlpHyZqASfPihgIhAMIuJ1J75PWlravLkqiurqeYtNFEGvPu5imgtT8yb0mi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+e2fCRA9TVsSAnZWagAARZMP/jXAiCmiNB/x4aMskQSq\nsqph4M7U6IHXBZSm78r3StcCCmzdAl/IWskBJSKkadv7fDRWeJ3BiHHskroN\nWu9Lfu5nZGqAs1Sd7QcvAb4MQAj5PpTydnwuiN1n9gbzL9EhZwTfa9oJyJNa\nH8KKfnSlKcaA0oOwn+H9ZTIs/1kCCjh/lAXp4hse9Xc15eQvJWsQ0BJTGzA8\n3Zu8rFrmrYc/iN1iVdMdWJbMyZPzWv7GostPGIGfXFpXa/9KV8vop5ENo+t2\n6sp/4H/Wl7YonhF7Wz+v5/zGIHSNkp71wR31CKmyigrM/uwXaEUI/nxAhFUl\n7lgx8MeqJkr3poTCM/EMGH/igLxaBHMcTE45griFENccBVlV02WV6CIlXjVD\nNgnNtms7cPboZLHruuvH/41HMK4QY+5lrG/2Hx1bs286wMMUtIb2I8csoJYh\nZ74sk8yNPffofUhwLkphb/Poccs7cqDxRtM2KwA17oqdmha+f6wzkhBXtJaB\nsazbT2pOJaS/khD0Ec16eEkJ+rg3DOf2uiDL1zsoa1GhahgJ8noKaGEjWD/5\nYbveW8daJrJQH8jFOzvpgfXjKR/QFJju536Lbr5N9pRxzNHegR4QvjhI+d+h\nAu9NzE30YS/G8ZZ2E47nAaqbRGRRqim5fiEuO0GJibQlB0pOx0BbXt4GvqHc\ntWEx\r\n=A6Td\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8.10"},"private":false,"scripts":{"postversion":"npm publish --access public"},"_npmUser":{"name":"julien-f","email":"julien.fontanet@isonoe.net"},"repository":{"url":"git+https://github.com/vatesfr/xen-orchestra.git","type":"git","directory":"@vates/coalesce-calls"},"_npmVersion":"6.14.5","description":"Wraps an async function so that concurrent calls will be coalesced","directories":{},"_nodeVersion":"12.18.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/coalesce-calls_0.1.0_1593437599291_0.25279992112423044","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-06-29T13:33:19.096Z","modified":"2026-08-14T19:07:07.505Z","0.1.0":"2020-06-29T13:33:19.410Z"},"bugs":{"url":"https://github.com/vatesfr/xen-orchestra/issues"},"author":{"url":"https://vates.fr","name":"Vates SAS"},"license":"ISC","homepage":"https://github.com/vatesfr/xen-orchestra/tree/master/@vates/coalesce-calls","keywords":["async","calls","coalesce","decorate","decorator","merge","promise","wrap","wrapper"],"repository":{"url":"git+https://github.com/vatesfr/xen-orchestra.git","type":"git","directory":"@vates/coalesce-calls"},"description":"Wraps an async function so that concurrent calls will be coalesced","maintainers":[{"email":"florent.beauchamp@vates.fr","name":"florent.beauchamp"},{"email":"contact@mathieu-raisin.fr","name":"mathieura"},{"email":"julien.fontanet@isonoe.net","name":"julien-f"},{"email":"marsaud.fabrice@neuf.fr","name":"marsaud"},{"email":"pierre.donias@gmail.com","name":"pdonias"},{"email":"thierry@byscripts.info","name":"tgoettelmann"},{"email":"npmjs.5hcin@simplelogin.com","name":"enishowk"},{"email":"bastien.nollet@vates.tech","name":"b-nollet"},{"email":"melissa.franca@vates.tech","name":"mlssfrncjrg"},{"email":"arnaudgs+arnogues@gmail.com","name":"arnogues"},{"email":"joris.kosacki@vates.tech","name":"joris-k"},{"email":"elise.franzini@vates.tech","name":"elise-f"},{"email":"nathanael.hannebert@vates.tech","name":"nathanael-h"},{"email":"olivier.floch@vates.tech","name":"olivier.f"},{"email":"pierre.brunet@vates.tech","name":"pierre.brunet289"}],"readme":"<!-- DO NOT EDIT MANUALLY, THIS FILE HAS BEEN GENERATED -->\n\n# @vates/coalesce-calls\n\n[![Package Version](https://badgen.net/npm/v/@vates/coalesce-calls)](https://npmjs.org/package/@vates/coalesce-calls) ![License](https://badgen.net/npm/license/@vates/coalesce-calls) [![PackagePhobia](https://badgen.net/bundlephobia/minzip/@vates/coalesce-calls)](https://bundlephobia.com/result?p=@vates/coalesce-calls) [![Node compatibility](https://badgen.net/npm/node/@vates/coalesce-calls)](https://npmjs.org/package/@vates/coalesce-calls)\n\n> Wraps an async function so that concurrent calls will be coalesced\n\n## Install\n\nInstallation of the [npm package](https://npmjs.org/package/@vates/coalesce-calls):\n\n```\n> npm install --save @vates/coalesce-calls\n```\n\n## Usage\n\n```js\nimport { coalesceCalls } from 'coalesce-calls'\n\nconst connect = coalesceCalls(async function () {\n  // async operation\n})\n\nconnect()\n\n// the previous promise result will be returned if the operation is not\n// complete yet\nconnect()\n```\n\n## Contributions\n\nContributions are _very_ welcomed, either on the documentation or on\nthe code.\n\nYou may:\n\n- report any [issue](https://github.com/vatesfr/xen-orchestra/issues)\n  you've encountered;\n- fork and create a pull request.\n\n## License\n\n[ISC](https://spdx.org/licenses/ISC) © [Vates SAS](https://vates.fr)\n","readmeFilename":"README.md"}