mirror of
https://github.com/Steffo99/async-chain.git
synced 2024-11-21 12:34:23 +00:00
Update project metadata
This commit is contained in:
parent
5f31609f55
commit
96826fe463
2 changed files with 13 additions and 3 deletions
BIN
.media/icon-128x128_round.png
Normal file
BIN
.media/icon-128x128_round.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
16
README.md
16
README.md
|
@ -1,9 +1,20 @@
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
![](.media/icon-128x128_round.png)
|
||||||
|
|
||||||
# `async-chain`
|
# `async-chain`
|
||||||
|
|
||||||
A coroutine builder
|
A coroutine builder
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## What?
|
## Links
|
||||||
|
|
||||||
|
[![PyPI](https://img.shields.io/pypi/v/async-chain)](https://pypi.org/project/async-chain)
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
### The problem
|
||||||
|
|
||||||
Have you ever felt that the `await` syntax in Python was a bit clunky when chaining multiple methods together?
|
Have you ever felt that the `await` syntax in Python was a bit clunky when chaining multiple methods together?
|
||||||
|
|
||||||
|
@ -28,8 +39,7 @@ async def on_message(event):
|
||||||
await event.get_message().get_author().send_message("Hello world!")
|
await event.get_message().get_author().send_message("Hello world!")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### The solution
|
||||||
## How?
|
|
||||||
|
|
||||||
First, install `async_chain` with your favorite package manager:
|
First, install `async_chain` with your favorite package manager:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue