code: func (b *basicBatcher) Flush() error {
  	// This is the same pattern as a Put
  	b.lock.Lock()
  	if b.disposed {
  		b.lock.Unlock()
  		return ErrDisposed
  	}
  	b.flush()
  	b.lock.Unlock()
  	return nil
  }
docs: // Flush forcibly completes the batch currently being built