File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,9 @@ written as:
344
344
}
345
345
}
346
346
347
+ A live C < Supply > that keeps values until first tapped can be created with
348
+ L < Supplier::Preserving|/type/Supplier/Preserving > .
349
+
347
350
An existing supply object can be filtered or transformed, using the methods
348
351
C < grep > and C < map > respectively, to create a new supply in a manner like
349
352
the similarly named list methods: C < grep > returns a supply such that only
Original file line number Diff line number Diff line change 23
23
Two 42
24
24
25
25
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 > .
27
28
28
29
= head1 Methods
29
30
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ The L<live method|#method live> returns C<True> on live supplies. Factory
41
41
methods such as L < interval|#method interval > , L < from-list|#method from-list >
42
42
will return I < on demand > supplies.
43
43
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
+
44
47
Further examples can be found in the L < concurrency page|/language/concurrency#Supplies > .
45
48
46
49
= head1 Methods that return Taps
You can’t perform that action at this time.
0 commit comments