MCPcopy Create free account
hub / github.com/closeio/tasktiger / run_single_task

Method run_single_task

tasktiger/runner.py:21–27  ·  view source on GitHub ↗

Run the given task using the hard timeout in seconds. This is called inside of the forked process.

(self, task: "Task", hard_timeout: float)

Source from the content-addressed store, hash-verified

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 """

Callers 1

execute_tasksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected