Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Start simply loops indefinitely sleeping and pulling messages
off for processing when they are available.

If you give one_shot=True it will run once rather than do a big
while loop with a sleep.

src/l/a/lamson-1.3.4/tests/lamson_tests/server_tests.py   lamson(Download)
    run_queue.push(str(test_mail_response_plain_text()))
    assert run_queue.count() > 0
    receiver.start(one_shot=True)
    assert run_queue.count() == 0
 

src/l/a/lamson-HEAD/tests/lamson_tests/server_tests.py   lamson(Download)
    run_queue.push(str(test_mail_response_plain_text()))
    assert run_queue.count() > 0
    receiver.start(one_shot=True)
    assert run_queue.count() == 0