MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / watch

Method watch

mitmproxy/addons/keepserving.py:37–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 ctx.master.shutdown()
36
37 async def watch(self):
38 while True:
39 await asyncio.sleep(0.1)
40 if not self.keepgoing():
41 self.shutdown()
42
43 def running(self):
44 opts = [

Callers 1

runningMethod · 0.95

Calls 2

keepgoingMethod · 0.95
shutdownMethod · 0.95

Tested by

no test coverage detected