MCPcopy Create free account
hub / github.com/apache/cloudstack / beginPhase

Function beginPhase

tools/ngui/static/js/lib/angular.js:8332–8338  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

8330
8331
8332 function beginPhase(phase) {
8333 if ($rootScope.$$phase) {
8334 throw Error($rootScope.$$phase + ' already in progress');
8335 }
8336
8337 $rootScope.$$phase = phase;
8338 }
8339
8340 function clearPhase() {
8341 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.85

Calls 1

ErrorFunction · 0.50

Tested by

no test coverage detected