MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / start_loop

Method start_loop

script.py:474–481  ·  view source on GitHub ↗

创建一个线程,运行loop :return:

(self)

Source from the content-addressed store, hash-verified

472 break
473
474 def start_loop(self) -> None:
475 """
476 创建一个线程,运行loop
477 :return:
478 """
479 if self.loop_thread is None:
480 self.loop_thread = Thread(target=self.loop, name='Script_loop')
481 self.loop_thread.start()
482
483
484if __name__ == "__main__":

Callers 1

start_scriptMethod · 0.80

Calls 1

startMethod · 0.45

Tested by

no test coverage detected