Expand description
Shared helper for the chunk protocol request/response pattern.
Extracts the duplicated “subscribe → send → poll event loop” into a single
generic function used by both ant-client and ant-node E2E helpers.
Structs§
- Chunk
Protocol Response - A decoded chunk-protocol response together with transport provenance.
Functions§
- send_
and_ await_ chunk_ response - Send a chunk-protocol message to
target_peerand await a matching response. - send_
and_ await_ chunk_ response_ with_ metadata - Send a chunk-protocol message and return the decoded response plus the observed transport provenance.