MCPcopy
hub / github.com/AirtestProject/Poco / run

Method run

poco/utils/simplerpc/simplerpc.py:193–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 raise NotImplementedError
192
193 def run(self):
194 def _run():
195 while True:
196 self.update()
197 time.sleep(0.002)
198 if BACKEND_UPDATE:
199 from threading import Thread
200 t = Thread(target=_run, name="update")
201 t.daemon = True
202 t.start()
203 else:
204 _run()
205
206 def console_run(self, local_dict=None):
207 global BACKEND_UPDATE

Callers 1

console_runMethod · 0.95

Calls 1

startMethod · 0.80

Tested by

no test coverage detected