Skip to content

smithk86/asyncio-multisubscriber-queue

Repository files navigation

asyncio-multisubscriber-queue

PyPI version Python Versions License: MIT Code style: black

Usage

MultisubscriberQueue allows a single producer to provide the same payload to multiple consumers simultaneously. 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.

About

Allow a single producer to provide the same payload to multiple consumers simultaneously

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages