func NewFunc(n int, f func(interface{}) interface{}) *Pool {
	return New(n, func() Worker {
		return &closureWorker{
			processor: f,
		}
	})
}
func NewFunc(n int, f func(interface{}) interface{}) *Pool {
	return New(n, func() Worker {
		return &closureWorker{
			processor: f,
		}
	})
}
func NewFunc ( n int , f func ( interface { } ) interface { } ) * Pool { return New ( n , func ( ) Worker { return & closureWorker { processor : f , } } ) }
// NewFunc creates a new Pool of workers where each worker will process using
// the provided func.
NewFunc creates a new Pool of workers where each worker will process using the provided func .