asyncio-multisubscriber-queue


License
MIT
Install
pip install asyncio-multisubscriber-queue==0.2.2

Documentation

asyncio-multisubscriber-queue

MultisubscriberQueue allows a single producer to provide the same payload to multiple consumers simultaniously. An asyncio.Queue is created for each consumer and each call to MultisubscriberQueue.put() iterates over each asyncio.Queue and puts the payload on each queue.

Please see example.py for a simple example.