Wait for the current scan process to finish, or timeout :param timeout: default = None, wait timeout seconds
(self, timeout=None)
| 863 | return |
| 864 | |
| 865 | def wait(self, timeout=None): |
| 866 | """ |
| 867 | Wait for the current scan process to finish, or timeout |
| 868 | |
| 869 | :param timeout: default = None, wait timeout seconds |
| 870 | |
| 871 | """ |
| 872 | assert type(timeout) in ( |
| 873 | int, |
| 874 | type(None), |
| 875 | ), f"Wrong type for [timeout], should be an int or None [was {type(timeout)}]" |
| 876 | |
| 877 | self._process.join(timeout) |
| 878 | return |
| 879 | |
| 880 | def still_scanning(self): |
| 881 | """ |
no outgoing calls