def METHOD_NAME(burst, queues):
    """Start a worker that fetches jobs from queues and executes them. If
    no queue names are given then the worker listens to the default
    queue, this is equivalent to
        paster jobs worker default
    If queue names are given then the worker listens to those queues
    and only those:
        paster jobs worker my-custom-queue
    Hence, if you want the worker to listen to the default queue and
    some others then you must list the default queue explicitly:
        paster jobs worker default my-custom-queue
    If the `--burst` option is given then the worker will exit as soon
    as all its queues are empty.
    """
    bg_jobs.Worker(queues).work(burst=burst)