… | |
… | |
193 | Although the callback might get passed parameters, their value and |
193 | Although the callback might get passed parameters, their value and |
194 | presence is undefined and you cannot rely on them. Portable AnyEvent |
194 | presence is undefined and you cannot rely on them. Portable AnyEvent |
195 | callbacks cannot use arguments passed to time watcher callbacks. |
195 | callbacks cannot use arguments passed to time watcher callbacks. |
196 | |
196 | |
197 | The callback will normally be invoked once only. If you specify another |
197 | The callback will normally be invoked once only. If you specify another |
198 | parameter, C<interval>, as a positive number, then the callback will be |
198 | parameter, C<interval>, as a strictly positive number (> 0), then the |
199 | invoked regularly at that interval (in fractional seconds) after the first |
199 | callback will be invoked regularly at that interval (in fractional |
200 | invocation. |
200 | seconds) after the first invocation. If C<interval> is specified with a |
|
|
201 | false value, then it is treated as if it were missing. |
201 | |
202 | |
202 | The callback will be rescheduled before invoking the callback, but no |
203 | The callback will be rescheduled before invoking the callback, but no |
203 | attempt is done to avoid timer drift in most backends, so the interval is |
204 | attempt is done to avoid timer drift in most backends, so the interval is |
204 | only approximate. |
205 | only approximate. |
205 | |
206 | |