{
    "content": [
        {
            "type": "text",
            "text": "# TAP::Base (perldoc)\n\n## NAME\n\nTAP::Base - Base class that provides common functionality to TAP::Parser and TAP::Harness\n\n## SYNOPSIS\n\npackage TAP::Whatever;\nuse base 'TAP::Base';\n# ... later ...\nmy $thing = TAP::Whatever->new();\n$thing->callback( event => sub {\n# do something interesting\n} );\n\n## DESCRIPTION\n\n\"TAP::Base\" provides callback management.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "TAP::Base",
        "section": "",
        "mode": "perldoc",
        "summary": "TAP::Base - Base class that provides common functionality to TAP::Parser and TAP::Harness",
        "synopsis": "package TAP::Whatever;\nuse base 'TAP::Base';\n# ... later ...\nmy $thing = TAP::Whatever->new();\n$thing->callback( event => sub {\n# do something interesting\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": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Class Methods",
                        "lines": 13
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "TAP::Base - Base class that provides common functionality to TAP::Parser and TAP::Harness\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.43\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "package TAP::Whatever;\n\nuse base 'TAP::Base';\n\n# ... later ...\n\nmy $thing = TAP::Whatever->new();\n\n$thing->callback( event => sub {\n# do something interesting\n} );\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"TAP::Base\" provides callback management.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Class Methods",
                        "content": "\"callback\"\nInstall a callback for a named event.\n\n\"gettime\"\nReturn the current time using Time::HiRes if available.\n\n\"timeishires\"\nReturn true if the time returned by gettime is high resolution (i.e. if Time::HiRes is\navailable).\n\n\"gettimes\"\nReturn array reference of the four-element list of CPU seconds, as with \"times\" in perlfunc.\n"
                    }
                ]
            }
        }
    }
}