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

Method constructor

scripts/new-relic.runtime.js:2004–2024  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

2002 v = i(7699)
2003 class y extends u.W {
2004 constructor(e, t) {
2005 super(e.agentIdentifier, t),
2006 (this.agentRef = e),
2007 (this.abortHandler = void 0),
2008 (this.featAggregate = void 0),
2009 (this.loadedSuccessfully = void 0),
2010 (this.onAggregateImported = new Promise((e) => {
2011 this.loadedSuccessfully = e
2012 })),
2013 (this.deferred = Promise.resolve()),
2014 !1 === e.init[this.featureName].autoStart
2015 ? (this.deferred = new Promise((t, r) => {
2016 this.ee.on(
2017 'manual-start-all',
2018 (0, m.J)(() => {
2019 ;(0, d.Ak)(e.agentIdentifier, this.featureName), t()
2020 })
2021 )
2022 }))
2023 : (0, d.Ak)(e.agentIdentifier, t)
2024 }
2025 importAggregator(e, t, r = {}) {
2026 if (this.featAggregate) return
2027 const n = async () => {

Callers

nothing calls this directly

Calls 2

tFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected