MCPcopy Create free account
hub / github.com/AI45Lab/Code / send_batch

Method send_batch

core/src/ahp/executor.rs:424–429  ·  view source on GitHub ↗

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>,
    )

Source from the content-addressed store, hash-verified

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 ///

Callers 1

flush_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected