MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / afterSetupIntegrations

Function afterSetupIntegrations

packages/core/src/integration.ts:99–106  ·  view source on GitHub ↗
(client: Client, integrations: Integration[])

Source from the content-addressed store, hash-verified

97 * Execute the `afterAllSetup` hooks of the given integrations.
98 */
99export function afterSetupIntegrations(client: Client, integrations: Integration[]): void {
100 for (const integration of integrations) {
101 // guard against empty provided integrations
102 if (integration?.afterAllSetup) {
103 integration.afterAllSetup(client);
104 }
105 }
106}
107
108/** Setup a single integration. */
109export function setupIntegration(client: Client, integration: Integration, integrationIndex: IntegrationIndex): void {

Callers 2

addIntegrationFunction · 0.90
_setupIntegrationsFunction · 0.90

Calls 1

afterAllSetupMethod · 0.65

Tested by

no test coverage detected