Documentation for method condition

Documentation for method condition, assembled from the following types:

class Lock

From Lock

(Lock) method condition

Defined as:

my class ConditionVariable {
    method wait();
    method signal();
    method signal_all();
method condition(Lock:D: --> ConditionVariable:D)

Returns a condition variable. Compare or for background.

my $l =;

class X::Phaser::PrePost

From X::Phaser::PrePost

(X::Phaser::PrePost) method condition

method condition(--> Str:D)

Returns the part of the source code that describes the phaser condition.