MCPcopy
hub / github.com/angular/angular / complete

Method complete

packages/core/test/linker/resource_loader_mock.ts:119–125  ·  view source on GitHub ↗
(response: string | null)

Source from the content-addressed store, hash-verified

117 }
118
119 complete(response: string | null) {
120 if (response == null) {
121 this.reject(`Failed to load ${this.url}`);
122 } else {
123 this.resolve(response);
124 }
125 }
126
127 getPromise(): Promise<string> {
128 return this.promise;

Callers 15

to_signal_spec.tsFile · 0.45
toObservableFunction · 0.45
outputToObservableFunction · 0.45
pendingUntilEventFunction · 0.45
_processRequestMethod · 0.45
setBodyMethod · 0.45
setupBodyStreamMethod · 0.45

Calls 2

resolveMethod · 0.65
rejectMethod · 0.45

Tested by

no test coverage detected