pub trait Batcher { fn new_batch<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<BoxedBatch>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/database#Batcher
Creates a write-only database that buffers changes to its host db until a final write is called.