gather_with_concurrency#

async langchain_core.runnables.utils.gather_with_concurrency(n: int | None, *coros: Coroutine) โ†’ list[source]#

ๆ”ถ้›†ๅ็จ‹๏ผŒๅนถ้™ๅˆถๅนถๅ‘ๅ็จ‹็š„ๆ•ฐ้‡ใ€‚

Parameters:
  • n (int | None) โ€“ ๅนถๅ‘่ฟ่กŒ็š„ๅ็จ‹ๆ•ฐ้‡ใ€‚

  • *coros (Coroutine) โ€“ ่ฆ่ฟ่กŒ็š„ๅ็จ‹ใ€‚

Returns:

ๅ็จ‹็š„็ป“ๆžœใ€‚

Return type:

ๅˆ—่กจ