ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.164 by root, Tue Jul 8 19:50:25 2008 UTC vs.
Revision 1.165 by root, Tue Jul 8 23:07:26 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines