MCPcopy Create free account
hub / github.com/angular/angular / complete

Method complete

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

Source from the content-addressed store, hash-verified

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