Skip to content

Commit cd4164c

Browse files
committed
Spec Supply.unchanged
1 parent 9d68384 commit cd4164c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

S17-concurrency.pod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,14 @@ a C<Supply> of coordinates into a C<Supply> of begin/end points.
645645
Produces a C<Supply> that passes on the values of the given Supply with the
646646
given delay (in seconds).
647647

648+
=item unchanged
649+
650+
my $u = $s.unchanged( $seconds, :$scheduler );
651+
652+
Produces a C<Supply> that only passes on a value if it wasn't superseded by
653+
another value in the given time (in seconds). Optionally uses another
654+
scheduler than the default scheduler, using the C<scheduler> named parameter.
655+
648656
=back
649657

650658
There are some others that will only publish a result or results if C<done> is

0 commit comments

Comments
 (0)