Skip to content
Sections
>> Trisquel >> パッケージ >> ecne (12.0LTS) >> python >> python3-async-timeout
[  aramo  ] [  ecne  ] [  xolotl  ]
[ ソース: python-async-timeout  ]

パッケージ: python3-async-timeout (4.0.3-1)

timeout context manager for asyncio programs in Python

The context manager is useful in cases when you want to apply timeout logic around block of code or in cases when asyncio.wait_for() is not suitable. Also it's much faster than asyncio.wait_for() because timeout doesn't create a new task.

Example:

 with timeout(1.5):
     yield from inner()

その他の python3-async-timeout 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-typing-extensions
    Backported and Experimental Type Hints for Python
    または python3-supported-min (>= 3.8)
    パッケージは利用できません

python3-async-timeout のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 6.3 kB36 kB [ファイル一覧]