Send a batch of events to the harness. This allows non-blocking events to be batched for efficiency. The harness processes them and returns a batch response.
(
&self,
events: Vec<a3s_ahp::AhpEvent>,
)
| 422 | /// This allows non-blocking events to be batched for efficiency. |
| 423 | /// The harness processes them and returns a batch response. |
| 424 | pub async fn send_batch( |
| 425 | &self, |
| 426 | events: Vec<a3s_ahp::AhpEvent>, |
| 427 | ) -> Result<a3s_ahp::BatchResponse, a3s_ahp::AhpError> { |
| 428 | self.client.send_batch(events).await |
| 429 | } |
| 430 | |
| 431 | /// Enable batch processing for non-blocking events. |
| 432 | /// |