Wakeup information

If I do something like this:

`
imp.wakeup(1,often);
imp.wakeup(100,rarely);

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.