code: func (r *receiver) Cut() []*cb.Envelope {
  	r.Metrics.BlockFillDuration.With("channel", r.ChannelID).Observe(time.Since(r.PendingBatchStartTime).Seconds())
  	r.PendingBatchStartTime = time.Time{}
  	batch := r.pendingBatch
  	r.pendingBatch = nil
  	r.pendingBatchSizeBytes = 0
  	return batch
  }
docs: // Cut returns the current batch and starts a new one