MCPcopy Create free account
hub / github.com/Rustixir/tokio_sky / drain

Method drain

examples/dynamic_batching.rs:83–83  ·  view source on GitHub ↗
(&mut self, _buffer: VecDeque<Product>)

Source from the content-addressed store, hash-verified

81 async fn terminate(&mut self) {}
82
83 async fn drain(&mut self, _buffer: VecDeque<Product>) {}
84
85
86 async fn fill_buffer(&mut self, buffer_size: usize) -> Result<VecDeque<Product>, Terminate> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected