Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

async-timeout 4.0.0

Choose a tag to compare

@asvetlov asvetlov released this 01 Nov 10:54
· 178 commits to master since this release

Changes

  • Implemented timeout_at(deadline) (#117)

  • Supported timeout.deadline and timeout.expired properties.

  • Drooped timeout.remaining property: it can be calculated as
    timeout.deadline - loop.time()

  • Dropped timeout.timeout property that returns a relative timeout based on the
    timeout object creation time; the absolute timeout.deadline should be used
    instead.

  • Added the deadline modification methods: timeout.reject(),
    timeout.shift(delay), timeout.update(deadline).

  • Deprecated synchronous context manager usage