babichjacob-oneshot-channel

A Python implementation of tokio::sync::oneshot::channel


Keywords
channel, oneshot, python
License
MIT
Install
pip install babichjacob-oneshot-channel==0.1.1

Documentation

1️⃣ One-Shot Channel

This library uses documentation copied and pasted from Tokio's sync::oneshot library, which they have generously published under the MIT license. 🙏

This is a Python implementation of their one-shot channel.

💻 Installation

This package is published to PyPI as babichjacob-oneshot-channel.

🛠 Usage

from asyncio import create_task, gather, run, sleep
from itertools import count

from oneshot_channel import channel, Receiver, Sender

# TODO: write usage guidance

😵 Help! I have a question

Create an issue and I'll try to help.

😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix.

📄 License

MIT

🙏 Attribution

This README was generated with ❤️ by readme-md-generator