--- EV/EV.pm 2019/12/20 21:02:34 1.161 +++ EV/EV.pm 2020/01/22 23:17:31 1.162 @@ -648,6 +648,12 @@ Calculates and returns the remaining time till the timer will fire. +=item $old_repeat = $w->reapat ([$new_repeat]) + +Returns the current value of the repeat attribute and optionally sets a +new one. Setting the new one will not restart the watcher - if the watcher +is active, the new repeat value is used whenever it expires next. + =back @@ -750,6 +756,20 @@ Return the time that the watcher is expected to trigger next. +=item $old_offset = $w->offset ([$new_offset]) + +Returns the current value of the offset attribute and optionally sets a +new one. Setting the new one will not restart the watcher - if the watcher +is active, the new offset value is used whenever it expires next. + +=item $old_interval = $w->interval ([$new_interval]) + +See above, for the interval attribute. + +=item $old_reschedule_cb = $w->reschedule_cb ([$new_reschedule_xcb]) + +See above, for the reschedule callback. + =back