func NewWorker(action WorkAction) *Worker {
	return &Worker{
		Latch:   NewLatch(),
		Context: context.Background(),
		Action:  action,
		Work:    make(chan interface{}),
	}
}
// NewWorker creates a new worker.
NewWorker creates a new worker.
// NewWorker creates a new worker .
func NewWorker(action WorkAction) *Worker {
	return &Worker{
		Latch:   NewLatch(),
		Context: context.Background(),
		Action:  action,
		Work:    make(chan interface{}),
	}
}
func NewWorker ( action WorkAction ) * Worker { return & Worker { Latch : NewLatch ( ) , Context : context . Background ( ) , Action : action , Work : make ( chan interface { } ) , } }
NewWorker creates a new worker.
NewWorker creates a new worker .