Skip to content
Sections
>> Trisquel >> Paketler >> nabia >> python >> python3-async-timeout
etiona  ] [  nabia  ] [  aramo  ]
[ Kaynak: python-async-timeout  ]

Paket: python3-async-timeout (3.0.1-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 ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

python3-async-timeout indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 5,5 kB30 kB [dosya listesi]