Skip to content

Commit 91cd70d

Browse files
gfldexzoffixznet
authored andcommitted
link to Supplier::Preserving, fixes #1610 (#1611)
1 parent 8810a1a commit 91cd70d

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

doc/Language/concurrency.pod6

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@ written as:
344344
}
345345
}
346346
347+
A live C<Supply> that keeps values until first tapped can be created with
348+
L<Supplier::Preserving|/type/Supplier/Preserving>.
349+
347350
An existing supply object can be filtered or transformed, using the methods
348351
C<grep> and C<map> respectively, to create a new supply in a manner like
349352
the similarly named list methods: C<grep> returns a supply such that only

doc/Type/Supplier.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ One 42
2323
Two 42
2424
2525
I<on demand> supplies are created by the factory methods of the L<Supply>
26-
class or by the C<supply> keyword.
26+
class or by the C<supply> keyword. A mixture of a live and on-demand C<Supply> can
27+
be created with a L<Supplier::Preserving|/type/Supplier/Preserving>.
2728
2829
=head1 Methods
2930

doc/Type/Supply.pod6

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ The L<live method|#method live> returns C<True> on live supplies. Factory
4141
methods such as L<interval|#method interval>, L<from-list|#method from-list>
4242
will return I<on demand> supplies.
4343
44+
A live C<Supply> that keeps values until tapped the first time can be created
45+
with L<Supplier::Preserving|/type/Supplier/Preserving>.
46+
4447
Further examples can be found in the L<concurrency page|/language/concurrency#Supplies>.
4548
4649
=head1 Methods that return Taps

0 commit comments

Comments
 (0)