code: def get_event_listeners() -> list[EventListenerWithMetadata]:
      """Get event listeners."""
      return list(_event_listeners)
  
file_path: jax/jax/_src/monitoring.py
imports: from __future__ import annotations
  from typing import Protocol
label_desc: Use image node_id 6 for calling a global function with example usage: get_event_listeners() and returns: list