MCPcopy Index your code
hub / github.com/angular/angular / event

Method event

packages/common/http/testing/src/request.ts:137–142  ·  view source on GitHub ↗

* Deliver an arbitrary `HttpEvent` (such as a progress event) on the response stream for this * request.

(event: HttpEvent<any>)

Source from the content-addressed store, hash-verified

135 * request.
136 */
137 event(event: HttpEvent<any>): void {
138 if (this.cancelled) {
139 throw new Error(`Cannot send events to a cancelled request.`);
140 }
141 this.observer.next(event);
142 }
143}
144
145/**

Callers 2

resource_spec.tsFile · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected