Skip to content

Commit 383c032

Browse files
committed
Really rid the tabs this time
1 parent b1f31c2 commit 383c032

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/Language/concurrency.pod

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ is an integer starting at 0 that is incremented for each event. The
279279
following code outputs 0 .. 5 :
280280
281281
282-
my $supply = Supply.interval(2);
283-
$supply.tap(-> $v { say $v });
284-
sleep 10;
282+
my $supply = Supply.interval(2);
283+
$supply.tap(-> $v { say $v });
284+
sleep 10;
285285
286286
This could also be written using the C<react> keyword:
287287
@@ -421,9 +421,8 @@ when the channel is closed.
421421
Channels can be used in place of the L<Supply> in the C<whenever> of a
422422
C<react> block described earlier:
423423
424-
my $channel = Channel.new;
425-
426-
my $p = start {
424+
my $channel = Channel.new;
425+
my $p = start {
427426
react {
428427
whenever $channel {
429428
say $_;

0 commit comments

Comments
 (0)