{
    "content": [
        {
            "type": "text",
            "text": "# TAP::Parser::Scheduler::Job (perldoc)\n\n## NAME\n\nTAP::Parser::Scheduler::Job - A single testing job.\n\n## SYNOPSIS\n\nuse TAP::Parser::Scheduler::Job;\n\n## DESCRIPTION\n\nRepresents a single test 'job'.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (3 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "TAP::Parser::Scheduler::Job",
        "section": "",
        "mode": "perldoc",
        "summary": "TAP::Parser::Scheduler::Job - A single testing job.",
        "synopsis": "use TAP::Parser::Scheduler::Job;",
        "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": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Class Methods",
                        "lines": 8
                    },
                    {
                        "name": "Instance Methods",
                        "lines": 12
                    },
                    {
                        "name": "Attributes",
                        "lines": 19
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "TAP::Parser::Scheduler::Job - A single testing job.\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.43\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use TAP::Parser::Scheduler::Job;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Represents a single test 'job'.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Class Methods",
                        "content": "\"new\"\nmy $job = TAP::Parser::Scheduler::Job->new(\n$filename, $description\n);\n\nGiven the filename and description of a test as scalars, returns a new\nTAP::Parser::Scheduler::Job object.\n"
                    },
                    {
                        "name": "Instance Methods",
                        "content": "\"onfinish\"\n$self->onfinish(\\&method).\n\nRegister a closure to be called when this job is destroyed. The callback will be passed the\n\"TAP::Parser::Scheduler::Job\" object as it's only argument.\n\n\"finish\"\n$self->finish;\n\nCalled when a job is complete to unlock it. If a callback has been registered with \"onfinish\",\nit calls it. Otherwise, it does nothing.\n"
                    },
                    {
                        "name": "Attributes",
                        "content": "$self->filename;\n$self->description;\n$self->context;\n\nThese are all \"getters\" which return the data set for these attributes during object\nconstruction.\n\n\"filename\"\n\"description\"\n\"context\"\n\"asarrayref\"\nFor backwards compatibility in callbacks.\n\n\"isspinner\"\n$self->isspinner;\n\nReturns false indicating that this is a real job rather than a 'spinner'. Spinners are returned\nwhen the scheduler still has pending jobs but can't (because of locking) return one right now.\n"
                    }
                ]
            }
        }
    }
}