Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ngZone.run(() => {
eventsEngine.set({});
callbacks.forEach(callback => originalAdd.call(null, callback));
callbacks = [];
readyCallbacks.fire();
});
}