Get the result from the child process. Returns: If the child process has completed, a ProcessResult object. Otherwise, a None object.
(self)
| 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 | |
| 54 | def with_timeout(function, *, args=None, timeout_in_seconds): |
no outgoing calls