Resets the global EventDispatcherProvider
Clears all registered listeners and removes the provider. Useful for testing or reconfiguration scenarios.
⚠️ WARNING: This should rarely be used in production code.
// In a test fileafterEach(() => { resetEventDispatcherProvider()}) Copy
// In a test fileafterEach(() => { resetEventDispatcherProvider()})
Resets the global EventDispatcherProvider
Clears all registered listeners and removes the provider. Useful for testing or reconfiguration scenarios.
⚠️ WARNING: This should rarely be used in production code.