def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def start(self, action_name: str) -> None:
        """Defines how to start recording an action."""