Run the given task using the hard timeout in seconds. This is called inside of the forked process.
(self, task: "Task", hard_timeout: float)
| 19 | self.tiger = tiger |
| 20 | |
| 21 | def run_single_task(self, task: "Task", hard_timeout: float) -> None: |
| 22 | """ |
| 23 | Run the given task using the hard timeout in seconds. |
| 24 | |
| 25 | This is called inside of the forked process. |
| 26 | """ |
| 27 | raise NotImplementedError("Single tasks are not supported.") |
| 28 | |
| 29 | def run_batch_tasks(self, tasks: List["Task"], hard_timeout: float) -> None: |
| 30 | """ |