code: def __call__(
      self, event: str, duration_secs: float, **kwargs: str | int
  ) -> None:
      ...
  
file_path: jax/jax/_src/monitoring.py
imports: from __future__ import annotations
  from typing import Protocol
label_desc: Use image node_id 1 for calling the EventDurationListenerWithMetadata obj's underlying member method code with example usage: obj.__call__(event, duration_secs) without return types