def METHOD_NAME(self) -> None:
    """Unsubscribe from hardware events.
    Safe to call more than once.
    Warning:
        This method does not wait for pending event dispatches to complete.
        Depending on timing, there may be straggler hardware events
        that the `ActionDispatcher` will see even after this method returns.
    """
    if self._unsubscribe_callback is not None:
        self._unsubscribe_callback()
        self._unsubscribe_callback = None