MCPcopy Index your code
hub / github.com/PatrickJS/angular-websocket / applyAsyncOrDigest

Function applyAsyncOrDigest

src/angular-websocket.js:248–258  ·  view source on GitHub ↗
(callback, autoApply, args)

Source from the content-addressed store, hash-verified

246 }
247
248 function applyAsyncOrDigest(callback, autoApply, args) {
249 args = arraySlice.call(arguments, 2);
250 if (self.useApplyAsync) {
251 self.scope.$applyAsync(function() {
252 callback.apply(self, args);
253 });
254 } else {
255 callback.apply(self, args);
256 self.safeDigest(autoApply);
257 }
258 }
259
260 };
261

Callers 1

$WebSocketProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…