Allow a single producer to provide the same payload to multiple consumers simultaneously
Project description
asyncio-multisubscriber-queue
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asyncio_multisubscriber_queue-0.4.1.tar.gz.
File metadata
- Download URL: asyncio_multisubscriber_queue-0.4.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.5 Linux/4.19.104-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e414fb7374ebb13bb1689995c308b8b1cc520a0d60b212dd0e05a6e98b6ae723
|
|
| MD5 |
684c2427f46e9360e673b1fa27210911
|
|
| BLAKE2b-256 |
dc05f9bd03c03def2332f4fd555586f6120786147fca95a745e2d939027e007d
|
File details
Details for the file asyncio_multisubscriber_queue-0.4.1-py3-none-any.whl.
File metadata
- Download URL: asyncio_multisubscriber_queue-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.5 Linux/4.19.104-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01820123cf152b694745d5ac7bf6a05068d9bb98d7a7b6487afcda962f5496a0
|
|
| MD5 |
fda53f1358531f012e2842a941ed4890
|
|
| BLAKE2b-256 |
0177b73dbda4864b774a45038a16a9449e6457fc9ab9909489963ff4156dce5b
|