Data::Stream::Bulk::Callback(3pm) - phpMan

Command: man perldoc info search(apropos)  


Data::Stream::Bulk::Callback(3pUser Contributed Perl DocumentatiData::Stream::Bulk::Callback(3pm)

NAME
       Data::Stream::Bulk::Callback - Callback based bulk iterator

VERSION
       version 0.11

SYNOPSIS
               Data::Stream::Bulk::Callback->new(
                       callback => sub {
                               if ( @more_items = get_some() ) {
                                       return \@more_items;
                               } else {
                                       return; # done
                               }
                       },
               }

DESCRIPTION
       This class provides a callback based implementation of Data::Stream::Bulk.

ATTRIBUTES
       callback
           The subroutine that is called when more items are needed.

           Should return an array reference for the next block, or a false value if there is
           nothing left.

METHODS
       get_more
           See Data::Stream::Bulk::DoneFlag.

           Reinvokes "callback".

AUTHOR
       Yuval Kogman <nothingmuch AT woobling.org>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2012 by Yuval Kogman.

       This is free software; you can redistribute it and/or modify it under the same terms as
       the Perl 5 programming language system itself.

perl v5.32.0                                2021-01-01          Data::Stream::Bulk::Callback(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-12 16:56 @3.137.163.165 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!