How to wait for connection ? #104
-
Hi, I code by hobby and i never use asyncio before recently. Thank you,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Nicolas. Thanks for opening this issue. Let me have a look. :)
The short answer is no. The context manager is the preferred way. You can hack your way around it (e.g., call Try to ask on stackoverflow.com or similar if you're unsure about context managers and asyncio in general. :) ~Frederik |
Beta Was this translation helpful? Give feedback.
Hi Nicolas. Thanks for opening this issue. Let me have a look. :)
The short answer is no. The context manager is the preferred way. You can hack your way around it (e.g., call
connect
or__aenter__
directly) but that may break in a future release.Try to ask on stackoverflow.com or similar if you're unsure about context managers and asyncio in general. :)
~Frederik