MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / wait

Method wait

plugins/_code_execution/helpers/tty_session.py:357–361  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 self.returncode = None
356
357 async def wait(self):
358 while child.isalive():
359 await asyncio.sleep(0.2)
360 self.returncode = 0
361 return 0
362
363 def terminate(self):
364 if child.isalive():

Callers 4

_heartbeat_loopFunction · 0.45
closeMethod · 0.45
waitMethod · 0.45
_terminate_processFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected