MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / readline

Method readline

autorecon/io.py:165–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163
164 # Read a line from the stream cache.
165 async def readline(self):
166 while True:
167 try:
168 return self.lines.pop(0)
169 except IndexError:
170 if self.ended:
171 return None
172 else:
173 await asyncio.sleep(0.1)
174
175 # Read all lines from the stream cache.
176 async def readlines(self):

Callers 9

readlinesMethod · 0.95
_readMethod · 0.80
port_scanFunction · 0.80
service_scanFunction · 0.80
extract_servicesMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected