(self)
| 76 | """任务管理器""" |
| 77 | |
| 78 | def __init__(self): |
| 79 | self.executor = _executor |
| 80 | self._loop: Optional[asyncio.AbstractEventLoop] = None |
| 81 | |
| 82 | def set_loop(self, loop: asyncio.AbstractEventLoop): |
| 83 | """设置事件循环(在 FastAPI 启动时调用)""" |
nothing calls this directly
no outgoing calls
no test coverage detected