func Batch(size int) Option {
	return func(p *Workers) {
		if size >= 1 {
			p.batchSize = size
		}
	}
}
Batch sets batch size to collect incoming records in a buffer before sending to workers
package pool
type Option func(p *Workers)
func ChunkFn(chunkFn func(val interface{}) string) Option {
	return func(p *Workers) {
		p.chunkFn = chunkFn
	}
}
func ResChanSize(size int) Option {
	return func(p *Workers) {
		if size >= 0 {
			p.resChanSize = size
		}
	}
}
func WorkerChanSize(size int) Option {
	return func(p *Workers) {
		if size >= 0 {
			p.workerChanSize = size
		}
	}
}