code: def priority_enqueue(self,
                           function,
                           name=None,
                           force_start=False,
                           times=1,
                           data=None):
          
          self._check_if_ready()
          return self.main_loop.priority_enqueue(function,
                                                 name,
                                                 force_start,
                                                 times,
                                                 data)
docs: Like :class:`enqueue()`, but adds the given function at the top of the
          queue.
          If force_start is True, the function is immediately started even when
          the maximum number of concurrent threads is already reached.
  
          :type  function: callable
          :param function: The function that is executed.
          :type  name: str
          :param name: Stored in Job.name.
          :type  force_start: bool
          :param force_start: Whether to start execution immediately.
          :type  times: int
          :param times: The maximum number of attempts.
          :type  data: object
          :param data: Optional data to store in Job.data.
          :rtype:  int
          :return: The id of the new job.