MCPcopy Index your code
hub / github.com/tiny-pilot/tinypilot / result

Method result

app/execute.py:44–51  ·  view source on GitHub ↗

Get the result from the child process. Returns: If the child process has completed, a ProcessResult object. Otherwise, a None object.

(self)

Source from the content-addressed store, hash-verified

42 self.child_conn.send(result)
43
44 def result(self):
45 """Get the result from the child process.
46
47 Returns:
48 If the child process has completed, a ProcessResult object.
49 Otherwise, a None object.
50 """
51 return self.parent_conn.recv() if self.parent_conn.poll() else None
52
53
54def with_timeout(function, *, args=None, timeout_in_seconds):

Calls

no outgoing calls