Function: unregisterAllIntervals()
Gala Launchpad SDK 9.0.0-rc.5 / index / unregisterAllIntervals
Function: unregisterAllIntervals()
unregisterAllIntervals():
number
Defined in: packages/launchpad-sdk/dist/services/IntervalRegistry.d.ts:59
Unregister all tracked intervals.
Nuclear option - use only during SDK shutdown or test cleanup. Returns count of intervals cleared for monitoring.
Returns
number
Number of intervals that were registered
Example
// In SDK cleanup:
const cleared = unregisterAllIntervals();
console.log(`Cleared ${cleared} leaked intervals`);