MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / defer

Function defer

lib/test/angular/1.6.7/angular.js:17088–17090  ·  view source on GitHub ↗

* @ngdoc method * @name ng.$q#defer * @kind function * * @description * Creates a `Deferred` object which represents a task which will finish in the future. * * @returns {Deferred} Returns a new instance of deferred.

()

Source from the content-addressed store, hash-verified

17086 * @returns {Deferred} Returns a new instance of deferred.
17087 */
17088 function defer() {
17089 return new Deferred();
17090 }
17091
17092 function Deferred() {
17093 var promise = this.promise = new Promise();

Callers 1

raceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected