# Copyright 2024 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import annotations from typing import TYPE_CHECKING from crossbench.action_runner.action.action_type import ActionType from crossbench.action_runner.action.base_duration import DurationAction if TYPE_CHECKING: from crossbench.action_runner.base import ActionRunner from crossbench.runner.run import Run class WaitAction(DurationAction): TYPE: ActionType = ActionType.WAIT def run_with(self, run: Run, action_runner: ActionRunner) -> None: action_runner.wait(run, self)