MCPcopy Create free account
hub / github.com/IBM/mcp-cli / consumer

Function consumer

tests/tools/test_execution.py:739–741  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

737 results = []
738
739 async def consumer():
740 async for result in stream_execute_tools(manager, calls, batch_timeout=100.0):
741 results.append(result)
742
743 task = asyncio.create_task(consumer())
744 # Give the generator time to start and block on queue.get()

Calls 1

stream_execute_toolsFunction · 0.90

Tested by

no test coverage detected