• Resets the event bus by clearing all existing subscriptions. Logs a warning message indicating the reset operation.

    Returns void

    Remarks

    This function iterates through all keys in the subscriptions object and deletes them, effectively removing all event listeners.

    Example

    reset(); // Clears all event subscriptions and logs a warning.