(cls)
| 127 | |
| 128 | @classmethod |
| 129 | def GetOrStartLoop(cls) -> asyncio.AbstractEventLoop: |
| 130 | if cls._loop is None: |
| 131 | cls.StartLoop() |
| 132 | assert cls._loop is not None, "Loop is not started" |
| 133 | return cls._loop |
| 134 | |
| 135 | |
| 136 | class PromptBuildMethodType(Enum): |