{"_id":"ovh-angular-q-allsettled","_rev":"33-3a18d7a2438174817477264bd4caeda4","name":"ovh-angular-q-allsettled","dist-tags":{"latest":"0.3.1"},"versions":{"0.3.0":{"name":"ovh-angular-q-allsettled","version":"0.3.0","_id":"ovh-angular-q-allsettled@0.3.0","maintainers":[{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh-ux/ovh-angular-q-allSettled#readme","bugs":{"url":"https://github.com/ovh-ux/ovh-angular-q-allSettled/issues"},"dist":{"shasum":"885304d67b0dc1657956d7d22942a970ae919840","tarball":"https://registry.npmjs.org/ovh-angular-q-allsettled/-/ovh-angular-q-allsettled-0.3.0.tgz","integrity":"sha512-+Z8OyBaZ93YYCsvDJLFdIMARbqh1zQa3I0XNXh+NmAfX1LZ27ShRURT0YoYQq7LYqUblJpZccSDaovbS3Ohg/g==","signatures":[{"sig":"MEUCIQCPz+OgI96iH0tr91iOpBPEmBKRbAOXFxAFXO8A+IepXAIgLr4cOdElG2F395GIjOAnFbdEYEyWtHfeNLEgoCUOgTs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/ovh-angular-q-allSettled.min.js","_from":".","_shasum":"885304d67b0dc1657956d7d22942a970ae919840","gitHead":"dd0a2e1d06e8db06202fdf568858355d54b42e76","scripts":{"test":"grunt test"},"_npmUser":{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh-ux/ovh-angular-q-allSettled.git","type":"git"},"_npmVersion":"4.1.2","description":"Copy of kriskowal/q for ovh control panels","directories":{},"_nodeVersion":"7.7.1","devDependencies":{"grunt":"0.4.x","karma":"~0.12.9","matchdep":"^0.3.0","grunt-bump":"~0.3.0","grunt-karma":"~0.10.1","grunt-ngdocs":"^0.2.5","karma-jasmine":"~0.3.0","jshint-stylish":"~1.0.0","grunt-complexity":"~0.1.0","grunt-ng-annotate":"~0.10.0","grunt-autoprefixer":"~2.2.0","grunt-contrib-copy":"~0.7.0","grunt-contrib-less":"~1.0.0","grunt-contrib-clean":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-contrib-concat":"~0.5.0","grunt-contrib-cssmin":"~0.12.2","grunt-contrib-jshint":"~0.11.0","grunt-contrib-uglify":"~0.8.0","grunt-contrib-csslint":"~0.4.0","karma-phantomjs-launcher":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/ovh-angular-q-allsettled-0.3.0.tgz_1498055967211_0.8659745573531836","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"ovh-angular-q-allsettled","version":"0.3.1","author":{"name":"OVH SAS"},"license":"BSD-3-Clause","_id":"ovh-angular-q-allsettled@0.3.1","maintainers":[{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},{"name":"ovh","email":"npm@ovh.net"}],"homepage":"https://github.com/ovh-ux/ovh-angular-q-allSettled#readme","bugs":{"url":"https://github.com/ovh-ux/ovh-angular-q-allSettled/issues"},"dist":{"shasum":"6fabcf33b3afb67161ec698092c7fc9a22f3db04","tarball":"https://registry.npmjs.org/ovh-angular-q-allsettled/-/ovh-angular-q-allsettled-0.3.1.tgz","integrity":"sha512-tR4c8ZcX0TTpeTYoUZ1r+37HuIGO7UtXoJZPI9Bksnv7W79SnAuFifDvXXnzu2I6k7nVb+q0dIllt5oR8ZUdaA==","signatures":[{"sig":"MEUCIQCK56ctn2/DEojqF4mWqZsa01rncv0ZN1OJWU9SsqWBIwIgdnZCZTTd8PY9alYeoHrnUcGcVmTEZS/M88ZgSZHxUS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/ovh-angular-q-allsettled.min.js","_from":".","_shasum":"6fabcf33b3afb67161ec698092c7fc9a22f3db04","gitHead":"8019e225db83fa3b1d01650c6583b20d81d392c9","scripts":{"test":"grunt test"},"_npmUser":{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh-ux/ovh-angular-q-allSettled.git","type":"git"},"_npmVersion":"4.1.2","description":"Copy of kriskowal/q for ovh control panels","directories":{},"_nodeVersion":"7.7.1","devDependencies":{"grunt":"0.4.x","karma":"~0.12.9","eslint":"^4.0.0","matchdep":"^0.3.0","grunt-bump":"~0.3.0","grunt-karma":"~0.10.1","grunt-eslint":"^20.0.0","grunt-ngdocs":"^0.2.5","jasmine-core":"^2.6.4","karma-jasmine":"~0.3.0","jshint-stylish":"~1.0.0","grunt-complexity":"~0.1.0","eslint-config-ovh":"^0.1.1","grunt-ng-annotate":"~0.10.0","grunt-contrib-copy":"~0.7.0","phantomjs-prebuilt":"^2.1.7","grunt-contrib-clean":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-contrib-concat":"~0.5.0","grunt-contrib-jshint":"~0.11.0","grunt-contrib-uglify":"~0.8.0","karma-phantomjs-launcher":"~1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ovh-angular-q-allsettled-0.3.1.tgz_1498547155947_0.7361428821459413","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-21T14:39:28.217Z","modified":"2025-12-18T14:47:46.195Z","0.3.0":"2017-06-21T14:39:28.217Z","0.3.1":"2017-06-27T07:05:56.986Z"},"bugs":{"url":"https://github.com/ovh-ux/ovh-angular-q-allSettled/issues"},"author":{"name":"OVH SAS"},"license":"BSD-3-Clause","homepage":"https://github.com/ovh-ux/ovh-angular-q-allSettled#readme","repository":{"url":"git+https://github.com/ovh-ux/ovh-angular-q-allSettled.git","type":"git"},"description":"Copy of kriskowal/q for ovh control panels","maintainers":[{"email":"jean-christophe.alleman@corp.ovh.com","name":"jisay"},{"email":"jean-philippe.blary@corp.ovh.com","name":"blary_jp"},{"email":"ant.leblanc@gmail.com","name":"antleblanc"},{"email":"tech.ux.ext@ovh.com","name":"ovh-ux-cds"},{"email":"cyril.biencourt@corp.ovh.com","name":"lizardk"},{"email":"opensource@ovh.net","name":"ovh"},{"email":"mariejones962@gmail.com","name":"marie-j"},{"email":"anooparveti@gmail.com","name":"anooparveti"},{"email":"helabenkhalfallah@hotmail.fr","name":"helabenkhalfallah"},{"email":"benjamin.coenen@hotmail.com","name":"bnjjj"},{"email":"giovanni.clement@gmail.com","name":"gioindahouz"},{"email":"k.ung@rduk.fr","name":"khuang"},{"email":"joffrey.leveugle@gmail.com","name":"jleveugle"},{"email":"axel.peter@live.com","name":"axelpeter"},{"email":"cyrille.bourgois@gmail.com","name":"cbourgois"}],"readme":"# ovh-angular-q-allSettled\n\n![OVH components](https://user-images.githubusercontent.com/3379410/27423240-3f944bc4-5731-11e7-87bb-3ff603aff8a7.png)\n\n[![Maintenance](https://img.shields.io/maintenance/yes/2017.svg)]() [![Chat on gitter](https://img.shields.io/gitter/room/ovh/ux.svg)](https://gitter.im/ovh/ux)\n\n[![NPM](https://nodei.co/npm/ovh-angular-q-allsettled.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/ovh-angular-q-allsettled/)\n\n[Copy of kriskowal/q => allSettled](https://github.com/kriskowal/q/wiki/API-Reference \"Documentation\")\n\nReturns a promise that is fulfilled with an array of promise state snapshots, but only after all the original promises have settled, i.e. become either fulfilled or rejected.\n\nThis method is often used in its static form on arrays of promises, in order to execute a number of operations concurrently and be notified when they all finish, regardless of success or failure. For example:\n\n## Example\n\n```javascript\nangular.module(\"app\", [\n  'ovh-angular-q-allSettled',\n```\n\n```javascript\n    var tinkyWinky = $q.defer(),\n        dipsy = $q.defer(),\n        laaLaa = $q.defer(),\n        po = $q.defer();\n\n    $timeout(function(){\n        console.log(\"ok tinkyWinky\");\n        tinkyWinky.resolve(\"tinkyWinky success\");\n    }, 1000);\n    $timeout(function(){\n        console.log(\"error dipsy\");\n        dipsy.reject(\"dipsy error\");\n    }, 2000);\n    $timeout(function(){\n        console.log(\"ok laaLaa\");\n        laaLaa.resolve(\"laaLaa success\");\n    }, 3000);\n    $timeout(function(){\n        console.log(\"error po\");\n        po.reject(\"tutu error\");\n    }, 4000);\n\n    $q.all([tinkyWinky.promise, dipsy.promise, laaLaa.promise, po.promise]).then(function(){\n        console.log(\"Q ALL DONE\");\n        console.log(arguments);\n    }, function(){\n        console.log(\"Q ONE ERROR BUT ALL NOT DONE\");\n        console.log(arguments);\n    });\n\n    $q.allSettled([tinkyWinky.promise, dipsy.promise, laaLaa.promise, po.promise]).then(function(){\n        console.log(\"ALL DONE\");\n        console.log(arguments);\n    }, function(){\n        console.log(\"ONE OR MORE ERROR\");\n        console.log(arguments);\n    });\n```\n\n\n# Installation\n\n## Bower\n    bower install ovh-angular-q-allsettled --save\n\n## NPM\n\n    npm install ovh-angular-q-allsettled --save\n\n## Get the sources\n\n```bash\n    git clone https://github.com/ovh-ux/ovh-angular-q-allSettled.git\n    cd ovh-angular-q-allSettled\n    npm install\n    bower install\n```\n\nYou've developed a new cool feature ? Fixed an annoying bug ? We'd be happy\nto hear from you !\n\nHave a look in [CONTRIBUTING.md](https://github.com/ovh-ux/ovh-angular-q-allSettled/blob/master/CONTRIBUTING.md)\n\n## Run the tests\n\n```bash\nnpm test\n```\n\n# Related links\n\n * Contribute: https://github.com/ovh-ux/ovh-angular-q-allSettled\n * Report bugs: https://github.com/ovh-ux/ovh-angular-q-allSettled/issues\n * Get latest version: https://github.com/ovh-ux/ovh-angular-q-allSettled\n\n# License\n\nSee https://github.com/ovh-ux/ovh-angular-q-allSettled/blob/master/LICENSE\n","readmeFilename":"README.md","users":{"frisouilles":true}}