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

Comparing AnyEvent-FCP/FCP.pm (file contents):
Revision 1.21 by root, Sun Jun 12 01:48:05 2016 UTC vs.
Revision 1.22 by root, Sun Jun 12 04:38:56 2016 UTC

425 425
426Also comes in this underscore variant: 426Also comes in this underscore variant:
427 427
428 $fcp->get_plugin_info_ ($name, $detailed, $cb); 428 $fcp->get_plugin_info_ ($name, $detailed, $cb);
429 429
430You can thinbk of the underscore as a kind of continuation indicator - the 430You can think of the underscore as a kind of continuation indicator - the
431normal function waits and returns with the data, the C<_> indicates that 431normal function waits and returns with the data, the C<_> indicates that
432you pass the continuation yourself, and the continuation will be invoked 432you pass the continuation yourself, and the continuation will be invoked
433with the results. 433with the results.
434 434
435This callback/continuation argument (C<$cb>) can come in three forms itself: 435This callback/continuation argument (C<$cb>) can come in three forms itself:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines