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

Function wrappedCallback

tools/ngui/static/js/lib/angular.js:6844–6851  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

6842 var result = defer();
6843
6844 var wrappedCallback = function(value) {
6845 try {
6846 result.resolve((callback || defaultCallback)(value));
6847 } catch(e) {
6848 exceptionHandler(e);
6849 result.reject(e);
6850 }
6851 };
6852
6853 var wrappedErrback = function(reason) {
6854 try {

Callers

nothing calls this directly

Calls 1

rejectFunction · 0.85

Tested by

no test coverage detected