async fn batch_insert(
pending: &mut Vec<impl Future<Output = Result<Output>>>,
pending_bytes: &mut usize,
) -> Result<(OutputRows, OutputCost)>
Expand description
Executes all pending inserts all at once, drain pending requests and reset pending bytes.