MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / create_managed_task

Function create_managed_task

src/task_manager.py:131–133  ·  view source on GitHub ↗

创建一个被管理的异步任务的便捷函数

(coro, *, name: str = None)

Source from the content-addressed store, hash-verified

129
130
131def create_managed_task(coro, *, name: str = None) -> asyncio.Task:
132 """创建一个被管理的异步任务的便捷函数"""
133 return task_manager.create_task(coro, name=name)
134
135
136def register_resource(resource: Any) -> Any:

Callers

nothing calls this directly

Calls 1

create_taskMethod · 0.80

Tested by

no test coverage detected