class Async::Timeout

def reschedule(time)

@returns [Numeric] The new time at which the timeout will occur.
@parameter time [Numeric] The new time to schedule the timeout for.

Reschedule the timeout to occur at the specified time.
def reschedule(time)
k = @handle&.block
e.cancel!
e = @timers.schedule(time, block)
 time
CancelledError, "Cannot reschedule a cancelled timeout!"