{
    "content": [
        {
            "type": "text",
            "text": "# Data::Stream::Bulk::Callback (perldoc)\n\n## NAME\n\nData::Stream::Bulk::Callback - Callback based bulk iterator\n\n## SYNOPSIS\n\nData::Stream::Bulk::Callback->new(\ncallback => sub {\nif ( @moreitems = getsome() ) {\nreturn \\@moreitems;\n} else {\nreturn; # done\n}\n},\n}\n\n## DESCRIPTION\n\nThis class provides a callback based implementation of Data::Stream::Bulk.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **ATTRIBUTES**\n- **METHODS**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Data::Stream::Bulk::Callback",
        "section": "",
        "mode": "perldoc",
        "summary": "Data::Stream::Bulk::Callback - Callback based bulk iterator",
        "synopsis": "Data::Stream::Bulk::Callback->new(\ncallback => sub {\nif ( @moreitems = getsome() ) {\nreturn \\@moreitems;\n} else {\nreturn; # done\n}\n},\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ATTRIBUTES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}