MCPcopy
hub / github.com/faust-streaming/faust / on_wait

Method on_wait

tests/unit/transport/test_consumer.py:460–462  ·  view source on GitHub ↗
(timeout)

Source from the content-addressed store, hash-verified

458 consumer._wait_next_records = AsyncMock()
459
460 async def on_wait(timeout):
461 consumer._stopped.set()
462 return None, None
463
464 consumer._wait_next_records.side_effect = on_wait
465 assert [a async for a in consumer.getmany(1.0)] == []

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected