{
    "mode": "perldoc",
    "parameter": "Data::Stream::Bulk::Callback",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Data%3A%3AStream%3A%3ABulk%3A%3ACallback/json",
    "generated": "2026-06-14T05:40:59Z",
    "synopsis": "Data::Stream::Bulk::Callback->new(\ncallback => sub {\nif ( @moreitems = getsome() ) {\nreturn \\@moreitems;\n} else {\nreturn; # done\n}\n},\n}",
    "sections": {
        "NAME": {
            "content": "Data::Stream::Bulk::Callback - Callback based bulk iterator\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 0.11\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Data::Stream::Bulk::Callback->new(\ncallback => sub {\nif ( @moreitems = getsome() ) {\nreturn \\@moreitems;\n} else {\nreturn; # done\n}\n},\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class provides a callback based implementation of Data::Stream::Bulk.\n",
            "subsections": []
        },
        "ATTRIBUTES": {
            "content": "callback\nThe subroutine that is called when more items are needed.\n\nShould return an array reference for the next block, or a false value if there is nothing\nleft.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "getmore\nSee Data::Stream::Bulk::DoneFlag.\n\nReinvokes \"callback\".\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Yuval Kogman <nothingmuch@woobling.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2012 by Yuval Kogman.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "Data::Stream::Bulk::Callback - Callback based bulk iterator",
    "flags": [],
    "examples": [],
    "see_also": []
}