Resets the event bus by clearing all existing subscriptions. Logs a warning message indicating the reset operation.
This function iterates through all keys in the subscriptions object and deletes them, effectively removing all event listeners.
subscriptions
reset(); // Clears all event subscriptions and logs a warning. Copy
reset(); // Clears all event subscriptions and logs a warning.
Resets the event bus by clearing all existing subscriptions. Logs a warning message indicating the reset operation.