Files
klz-cables.com/.pnpm-store/v10/files/53/80b61329b3cf45470f91555970a7c4fff6c1bba4cf66edf0ad5aa20c9e1a7596946f1d844c11ae1693346a69d195ba7d4c79717aa270da57fede53ba18b18f
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

17 lines
690 B
Plaintext

import { getClient } from '@sentry/core';
/**
* Manually report the end of the page load, resulting in the SDK ending the pageload span.
* This only works if {@link BrowserTracingOptions.enableReportPageLoaded} is set to `true`.
* Otherwise, the pageload span will end itself based on the {@link BrowserTracingOptions.finalTimeout},
* {@link BrowserTracingOptions.idleTimeout} and {@link BrowserTracingOptions.childSpanTimeout}.
*
* @param client - The client to use. If not provided, the global client will be used.
*/
function reportPageLoaded(client = getClient()) {
client?.emit('endPageloadSpan');
}
export { reportPageLoaded };
//# sourceMappingURL=reportPageLoaded.js.map