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

Method GetOrStartLoop

sharegpt/utils.py:117–120  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

115
116 @classmethod
117 def GetOrStartLoop(cls) -> asyncio.AbstractEventLoop:
118 if cls._loop is None:
119 cls.StartLoop()
120 return cls._loop

Callers 1

__init__Method · 0.45

Calls 1

StartLoopMethod · 0.45

Tested by

no test coverage detected