{
    "content": [
        {
            "type": "text",
            "text": "# Test2::EventFacet::Control (perldoc)\n\n## NAME\n\nTest2::EventFacet::Control - Facet for hub actions and behaviors.\n\n## DESCRIPTION\n\nThis facet is used when the event needs to give instructions to the Test2 internals.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **FIELDS**\n- **SOURCE**\n- **MAINTAINERS**\n- **AUTHORS**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Test2::EventFacet::Control",
        "section": "",
        "mode": "perldoc",
        "summary": "Test2::EventFacet::Control - Facet for hub actions and behaviors.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FIELDS",
                "lines": 29,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MAINTAINERS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Test2::EventFacet::Control - Facet for hub actions and behaviors.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This facet is used when the event needs to give instructions to the Test2 internals.\n",
                "subsections": []
            },
            "FIELDS": {
                "content": "$string = $control->{details}\n$string = $control->details()\nHuman readable explanation for the special behavior.\n\n$bool = $control->{global}\n$bool = $control->global()\nTrue if the event is global in nature and should be seen by all hubs.\n\n$exit = $control->{terminate}\n$exit = $control->terminate()\nDefined if the test should immediately exit, the value is the exit code and may be 0.\n\n$bool = $control->{halt}\n$bool = $control->halt()\nTrue if all testing should be halted immediately.\n\n$bool = $control->{hascallback}\n$bool = $control->hascallback()\nTrue if the \"callback($hub)\" method on the event should be called.\n\n$encoding = $control->{encoding}\n$encoding = $control->encoding()\nThis can be used to change the encoding from this event onward.\n\n$phase = $control->{phase}\n$phase = $control->phase()\nUsed to signal that a phase change has occurred. Currently only the perl END phase is\nsignaled.\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n",
                "subsections": []
            },
            "MAINTAINERS": {
                "content": "Chad Granum <exodist@cpan.org>\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Chad Granum <exodist@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 2020 Chad Granum <exodist@cpan.org>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nSee http://dev.perl.org/licenses/\n",
                "subsections": []
            }
        }
    }
}