Ticket #5716 enhancement new

Opened 22 months ago

Last modified 22 months ago

Proposed method: IDelayedCall.secondsLeft()

Reported by: teratorn Owned by:
Priority: lowest Milestone:
Component: core Keywords:
Cc: teratorn Branch:
Author: Launchpad Bug:


It would be nice to have a method for getting the current delay before the IDelayedCall is expected to fire.

Method should return floating point seconds since UNIX epoch, as consistent with other IDelayedCall methods.

My use-case is showing the delay before some OTPs are set to expire.

A quick grep shows class DelayedCall in t/i/base.py as the only implementor of this interface in Twisted.

Change History


Changed 22 months ago by exarkun

  • keywords easy removed

The idea behind this idea is complicated and involves unresolved issues discussed on #2424.

Note: See TracTickets for help on using tickets.