diff options
| author | 2021-01-03 17:04:55 -0800 | |
|---|---|---|
| committer | 2021-01-04 23:19:59 -0800 | |
| commit | 180a2116eeca5fbabe81506a4a98f4569138be78 (patch) | |
| tree | 816d31ebbb0fbc72f0e219773f87b0fa7f7d4f38 /tests/test_helpers.py | |
| parent | Add asyncio.create_task wrapper which logs exceptions (diff) | |
HelpChannels: make a channel available within the lock
If the lock causes the function to abort, a new channel shouldn't be
made available. However, the only way to know it's aborted from the
outside would be through a return value or global variable. Neither seem
as nice as just just using `create_task` within the lock to avoid
having `move_to_available` hold the lock.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions