diff options
| author | Steve C <[email protected]> | 2020-05-09 21:37:09 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-05-10 17:00:23 -0400 |
| commit | 4b3a7fbe165e9bd28af4677d143f27cf2f75179d (patch) | |
| tree | 25362c08596c8ccf00b63d3a0dea13a242d5a1f4 /docs | |
| parent | Add support server as contact link in issue templates (diff) | |
| download | discord.py-4b3a7fbe165e9bd28af4677d143f27cf2f75179d.tar.xz discord.py-4b3a7fbe165e9bd28af4677d143f27cf2f75179d.zip | |
[tasks] Allow Loop.cancel in Loop.before_loop
Task cancel raises on the next awaited coro, so I've added this 0-sleep "hack"
I'm internally debating if leaving the comment there, but I'm sure it would confuse the uninformed of this trick.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions