TAP::PARSER::SCHEDULER::JOB(3pm)
π NAME π
okay so this is the TAP::Parser::Scheduler::Job(3pm) page from the Perl Programmers Reference Guide, and the NAME is literally A single testing job. π
β¨ VERSION β¨
Version 3.50 β that's the version, bestie. π«Ά
π¦ SYNOPSIS π¦
use TAP::Parser::Scheduler::Job;
πΈ DESCRIPTION πΈ
Represents a single test 'job'. That's the whole vibe. π
π METHODS π
π Class Methods π
π§ new π§
my $job = TAP::Parser::Scheduler::Job->new(
$filename, $description
);
Given the filename and description of a test as scalars, this returns a brand-new TAP::Parser::Scheduler::Job object. Slay. β¨
π Instance Methods π
π₯ on_finish π₯
$self->on_finish(\&method).
Register a closure to be called when this job is destroyed. The callback will be passed the TAP::Parser::Scheduler::Job object as its only argument. No cap. π«Ά
β finish β
$self->finish;
Called when a job is complete to unlock it. If a callback has been registered with on_finish, it calls it. Otherwise, it does nothing. π
π Attributes π
$self->filename;
$self->description;
$self->context;
These are all "getters" which return the data set for these attributes during object construction. Periodt. π
filenameβ getter name, bestie. πdescriptionβ getter name. πΈcontextβ getter name. π¦as_array_refβ for backwards compatibility in callbacks. π
π¦ is_spinner π¦
$self->is_spinner;
Returns false indicating that this is a real job rather than a 'spinner'. Spinners are returned when the scheduler still has pending jobs but can't (because of locking) return one right now. It's giving "locked and pending," honestly. π
cute sign-off time: this page is from perl v5.42.3, dated 2026-11-03, and it's the TAP::Parser::Scheduler::Job(3pm) manual page. Go test something iconic. ππ
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms