code: def clear_event_listeners():
      """Clear event listeners."""
      global _event_listeners, _event_duration_secs_listeners
      _event_listeners = []
      _event_duration_secs_listeners = []
  
file_path: jax/jax/_src/monitoring.py
imports: from __future__ import annotations
  from typing import Protocol
label_desc: Use image node_id 7 for calling a global function with example usage: clear_event_listeners() without return types