oslo.messaging/oslo
Victor Stinner 7fe2ef7334 Add an optional timeout parameter to Listener.poll
For asynchronous programming, a timeout parameter is required on the listener
to allow to stop it at exit. poll() returns None on timeout.

It plan to use it in my new asyncio (Trollius) executor:
https://review.openstack.org/#/c/70983/

See also the related blueprint for the rationale:
https://wiki.openstack.org/wiki/Oslo/blueprints/asyncio

Change-Id: I918ae3c267743a0eaed1d6a210c79fb4a0eb8733
2014-06-13 10:20:39 +02:00
..
messaging Add an optional timeout parameter to Listener.poll 2014-06-13 10:20:39 +02:00
__init__.py Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00