Private
constructorPrivate
applicationPrivate
configPrivate
corePrivate
corePrivate
errorPrivate
eventsPrivate
initializedPrivate
metricsPrivate
pingsPrivate
platformPrivate
startPrivate
supportedPrivate
testingPrivate
uploadStatic
Private
Optional
_instanceStatic
applicationStatic
configStatic
coreStatic
coreStatic
errorStatic
eventsStatic
initializedStatic
instanceStatic
metricsStatic
pingsStatic
platformStatic
startStatic
testingStatic
uploadStatic
addStatic
getStatic
isStatic
testGenerated using TypeDoc
This class holds all of the Glean singleton's state and internal dependencies.
It is necessary so that internal modules don't need to import Glean directly. Doing that should be avoided at all costs because that singleton imports most of our internal modules by value. That causes bad circular dependency issues, due to the module being imported by Glean and also importing Glean.
This singleton breaks the cycle, by serving as a bridge between the Glean singleton and the internal modules. All of the imports in this file should be
import type
which only matter for Typescript and don't cause circular dependency issues.