Metadata-Version: 2.1
Name: asyncio-multisubscriber-queue
Version: 0.3.0
Summary: UNKNOWN
Home-page: https://github.com/smithk86/asyncio-multisubscriber-queue
Author: Kyle Smith
Author-email: smithk86@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Classifier: Framework :: AsyncIO
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

#  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](https://github.com/smithk86/asyncio-multisubscriber-queue/blob/master/example.py) for a simple example.

## Change Log

### [0.3.0] - 2021-11-08

- Add type hints and type validation with mypy
- Replace _QueueContext object with @contextmanager on MultisubscriberQueue.queue()


