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

Method maybePropagateTrace

packages/common/http/src/xhr.ts:115–117  ·  view source on GitHub ↗
(fn: T)

Source from the content-addressed store, hash-verified

113 constructor(private xhrFactory: XhrFactory) {}
114
115 private maybePropagateTrace<T extends Function>(fn: T): T {
116 return this.tracingService?.propagate ? this.tracingService.propagate(fn) : fn;
117 }
118
119 /**
120 * Processes a request and returns a stream of response events.

Callers 1

handleMethod · 0.95

Calls 1

propagateMethod · 0.65

Tested by

no test coverage detected