Alle Optionen
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: python-async-timeout  ]

Paket: python3-async-timeout (4.0.2-1)

Links für python3-async-timeout

Screenshot

Debian-Ressourcen:

Quellcode-Paket python-async-timeout herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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()

Andere Pakete mit Bezug zu python3-async-timeout

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

python3-async-timeout herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 7,3 kB38,0 kB [Liste der Dateien]