async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def stop(self, action_name: str) -> None:
        """Defines how to record the duration once an action is complete."""