Wakeup information

If I do something like this:


function often(){
//something done often

function rarely(){
//something done rarely

Is there some way for “often” to know how long before “rarely” will fire?

Not out of the box, but you could wrap the imp.wakeup functionality in a class that tracks when it was created, and how long the timer is to determine when it will be fired next.