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.
This package is published to PyPI as babichjacob-oneshot-channel
.
from asyncio import create_task, gather, run, sleep
from itertools import count
from oneshot_channel import channel, Receiver, Sender
# TODO: write usage guidance
Create an issue and I'll try to help.
Create an issue or pull request and I'll try to fix.
MIT
This README was generated with ❤️ by readme-md-generator