code: func GreedyBatchingPolicy(maxConcurrentInvs, maxBatchSize int) (Func, error) {
  	return basePolicy(maxConcurrentInvs, maxBatchSize, func(triggers []*internal.Trigger) int {
  		return len(triggers)
  	})
  }
docs: // GreedyBatchingPolicy instantiates new GREEDY_BATCHING policy function.
  //
  // It takes all pending triggers and collapses them into one new invocation,
  // deriving its properties from the most recent trigger alone.