#5716 enhancement new
Proposed method: IDelayedCall.secondsLeft()
|Reported by:||teratorn||Owned by:|
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.