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

Method async_callback

tests/planning/test_executor.py:1197–1198  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1195 @pytest.mark.asyncio
1196 async def test_async_callback_result(self):
1197 async def async_callback(x):
1198 return x * 2
1199
1200 result = await _maybe_await(async_callback(5))
1201 assert result == 10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected