MCPcopy Create free account
hub / github.com/C3ting/ARL / wait

Method wait

app/utils/nmap.py:766–776  ·  view source on GitHub ↗

Wait for the current scan process to finish, or timeout :param timeout: default = None, wait timeout seconds

(self, timeout=None)

Source from the content-addressed store, hash-verified

764 return
765
766 def wait(self, timeout=None):
767 """
768 Wait for the current scan process to finish, or timeout
769
770 :param timeout: default = None, wait timeout seconds
771
772 """
773 assert type(timeout) in (int, type(None)), 'Wrong type for [timeout], should be an int or None [was {0}]'.format(type(timeout))
774
775 self._process.join(timeout)
776 return
777
778 def still_scanning(self):
779 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected