gated_coro# async langchain_core.runnables.utils.gated_coro(semaphore: Semaphore, coro: Coroutine) → Any[源代码]# 使用信号量运行一个协程。 Parameters: semaphore (Semaphore) – 要使用的信号量。 coro (Coroutine) – 要运行的协程。 Returns: 协程的结果。 Return type: 任何