MCPcopy Create free account
hub / github.com/LMCache/LMBenchmark / run_loop

Method run_loop

sharegpt/utils.py:88–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 cls._loop = asyncio.new_event_loop()
87
88 def run_loop():
89 asyncio.set_event_loop(cls._loop)
90 cls._logger.debug("Starting the asyncio loop")
91 cls._loop.run_forever()
92
93 cls._thread = threading.Thread(target=run_loop)
94 cls._thread.start()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected