':type queue: Queue'

def __init__(self, queue, group=None, target=None, name=None, args=(), kwargs=None):

    super(Worker, self).__init__(group=group, target=target, name=name, args=args, kwargs=kwargs)
    self.queue = queue
    self._stopped = False
    self.worker_timeout = 20
    self._stop_done = False
