pub async fn stateless_mock_responder<S, F>(
handles: LocalComponentHandles,
responder: F,
) -> Result<(), Error>
Expand description
A mock component serving a protocol S
on handles
. Specifically, this services S by calling
responder
for every request of every client connection to S.