{
    "content": [
        {
            "type": "text",
            "text": "# Data::Stream::Bulk::Chunked (perldoc)\n\n## NAME\n\nData::Stream::Bulk::Chunked - combine streams into larger chunks\n\n## SYNOPSIS\n\nuse Data::Stream::Bulk::Chunked;\nData::Stream::Bulk::Chunked->new(\nstream     => $s,\nchunksize => 10000,\n);\n\n## DESCRIPTION\n\nThis is a stream which wraps an existing stream to give more items in a single block. This can\nsimplify application code which does its own processing one block at a time, and where\nprocessing larger blocks is more efficient.\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::Chunked",
        "section": "",
        "mode": "perldoc",
        "summary": "Data::Stream::Bulk::Chunked - combine streams into larger chunks",
        "synopsis": "use Data::Stream::Bulk::Chunked;\nData::Stream::Bulk::Chunked->new(\nstream     => $s,\nchunksize => 10000,\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": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "ATTRIBUTES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Data::Stream::Bulk::Chunked - combine streams into larger chunks\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.11\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Data::Stream::Bulk::Chunked;\n\nData::Stream::Bulk::Chunked->new(\nstream     => $s,\nchunksize => 10000,\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a stream which wraps an existing stream to give more items in a single block. This can\nsimplify application code which does its own processing one block at a time, and where\nprocessing larger blocks is more efficient.\n",
                "subsections": []
            },
            "ATTRIBUTES": {
                "content": "stream\nThe stream to chunk. Required.\n\nchunksize\nThe minimum number of items to return in a block. Defaults to 1 (which does nothing).\n",
                "subsections": []
            },
            "METHODS": {
                "content": "getmore\nSee Data::Stream::Bulk::DoneFlag.\n\nReturns at least \"chunksize\" items. Note that this isn't guaranteed to return exactly\n\"chunksize\" items - it just returns multiple full blocks from the backend. Also, the final\nblock returned may have less than \"chunksize\" items.\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": []
            }
        }
    }
}