MCPcopy
hub / github.com/angular-ui/ui-router / notifyWhenNoPendingTasks

Function notifyWhenNoPendingTasks

test/angular/1.7/angular.js:21286–21293  ·  view source on GitHub ↗
(callback, taskType)

Source from the content-addressed store, hash-verified

21284 }
21285
21286 function notifyWhenNoPendingTasks(callback, taskType) {
21287 taskType = taskType || ALL_TASKS_TYPE;
21288 if (!taskCounts[taskType]) {
21289 callback();
21290 } else {
21291 taskCallbacks.push({type: taskType, cb: callback});
21292 }
21293 }
21294}
21295
21296var $templateRequestMinErr = minErr('$templateRequest');

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected