MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / $QProvider

Function $QProvider

OpenReservation/wwwroot/Scripts/angular.js:15910–15919  ·  view source on GitHub ↗

* @ngdoc service * @name $q * @requires $rootScope * * @description * A service that helps you run functions asynchronously, and use their return values (or exceptions) * when they are done processing. * * This is an implementation of promises/deferred objects

()

Source from the content-addressed store, hash-verified

15908 * @returns {Promise} The newly created promise.
15909 */
15910 function $QProvider() {
15911 this.$get = [
15912 '$rootScope', '$exceptionHandler', function ($rootScope, $exceptionHandler) {
15913 return qFactory(function (callback) {
15914 $rootScope.$evalAsync(callback);
15915 },
15916 $exceptionHandler);
15917 }
15918 ];
15919 }
15920
15921 function $$QProvider() {
15922 this.$get = [

Callers

nothing calls this directly

Calls 1

qFactoryFunction · 0.85

Tested by

no test coverage detected