MCPcopy
hub / github.com/nervgh/angular-file-upload / onNextTick

Method onNextTick

src/services/FileUploader.js:160–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 } else {
159 let dummy = [undefined, 0, {}];
160 let onNextTick = () => {
161 this._onCancelItem(item, ...dummy);
162 this._onCompleteItem(item, ...dummy);
163 };
164 $timeout(onNextTick); // Trigger callbacks asynchronously (setImmediate emulation)
165 }
166 }

Callers

nothing calls this directly

Calls 2

_onCancelItemMethod · 0.95
_onCompleteItemMethod · 0.95

Tested by

no test coverage detected