MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / E

Method E

scripts/new-relic.runtime.js:3272–3295  ·  view source on GitHub ↗
(e, r)

Source from the content-addressed store, hash-verified

3270 (this.txSize = se(r.body) || 0)
3271 }
3272 function E(e, r) {
3273 if (
3274 ((this.endTime = (0, o.t)()),
3275 this.params || (this.params = {}),
3276 (0, Ae.iW)(this.params))
3277 )
3278 return
3279 let i
3280 ;(this.params.status = r ? r.status : 0),
3281 'string' == typeof this.rxSize &&
3282 this.rxSize.length > 0 &&
3283 (i = +this.rxSize)
3284 const s = {
3285 txSize: this.txSize,
3286 rxSize: i,
3287 duration: (0, o.t)() - this.startTime,
3288 }
3289 n(
3290 'xhr',
3291 [this.params, s, this.startTime, this.endTime, 'fetch'],
3292 this,
3293 t.K7.ajax
3294 )
3295 }
3296 function T(e) {
3297 const r = this.params,
3298 i = this.metrics

Callers

nothing calls this directly

Calls 1

nFunction · 0.70

Tested by

no test coverage detected