Skip to content

Commit 08c1b36

Browse files
authored
Clarify that whenever uses .act, not .tap
...and so its block is executed just one at a time. smls++ for pointing that out.
1 parent e16e241 commit 08c1b36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Language/concurrency.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,9 @@ This could also be written using the C<react> keyword:
312312
}
313313
}
314314
315-
Here the X<C<whenever>> keyword creates a tap on the L<Supply> from the provided
316-
block. The C<react> block is exited when C<done()> is called in one of the taps.
315+
Here the X<C<whenever>> keyword uses L«C<.act>|/type/Supply#method_act»
316+
to create a tap on the L<Supply> from the provided block. The C<react>
317+
block is exited when C<done()> is called in one of the taps.
317318
318319
A second argument can be supplied to C<interval> which specifies a delay
319320
in seconds before the first event is fired. Each tap of a supply created

0 commit comments

Comments
 (0)