Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elaborate on running the Application along other asyncio frameworks
- Loading branch information
1 parent
c3e336f
commit 2227d88
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. tip:: | ||
When combining ``python-telegram-bot`` with other :mod:`asyncio` based frameworks, using this | ||
method is likely not the best choice, as it blocks the event loop until it receives a stop | ||
signal as described above. | ||
Instead, you can manually call the methods listed below to start and shut down the application | ||
and the :attr:`~telegram.ext.Application.updater`. | ||
Keeping the event loop running and listening for a stop signal is then up to you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters