TAP::Parser::Scheduler::Spinner(3p) | Perl Programmers Reference Guide | TAP::Parser::Scheduler::Spinner(3p)

# NAME

TAP::Parser::Scheduler::Spinner - A no-op job.

# VERSION

Version 3.48

# SYNOPSIS

        use TAP::Parser::Scheduler::Spinner;

# DESCRIPTION

A no-op job. Returned by "TAP::Parser::Scheduler" as an instruction to the harness to spin (keep executing tests) while the scheduler can't return a real job.

# METHODS

## Class Methods

"new"

        my $job = TAP::Parser::Scheduler::Spinner->new;

Ignores any arguments and returns a new "TAP::Parser::Scheduler::Spinner" object.

## Instance Methods

"is_spinner"

Returns true indicating that is a 'spinner' job. Spinners are returned when the scheduler still has pending jobs but can't (because of locking) return one right now.

# SEE ALSO

TAP::Parser::Scheduler, TAP::Parser::Scheduler::Job

2025-01-28 | perl v5.40.1