Wait for a handle. Return a Future object. The result of the future is True if the wait completed, or False if the wait did not complete (on timeout).
(self, handle, timeout=None)
| 654 | return windows_utils.PipeHandle(handle) |
| 655 | |
| 656 | def wait_for_handle(self, handle, timeout=None): |
| 657 | """Wait for a handle. |
| 658 | |
| 659 | Return a Future object. The result of the future is True if the wait |
| 660 | completed, or False if the wait did not complete (on timeout). |
| 661 | """ |
| 662 | return self._wait_for_handle(handle, timeout, False) |
| 663 | |
| 664 | def _wait_cancel(self, event, done_callback): |
| 665 | fut = self._wait_for_handle(event, None, True) |