alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: python-async-timeout  ]

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

Verwijzigingen voor python3-async-timeout

Screenshot

Debian bronnen:

Het bronpakket python-async-timeout downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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 aan python3-async-timeout gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

python3-async-timeout downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 7,3 kB38,0 kB [overzicht]