Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarify that whenever uses .act, not .tap
...and so its block is executed just one at a time.

smls++ for pointing that out.
  • Loading branch information
zoffixznet committed Aug 23, 2016
1 parent e16e241 commit 08c1b36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Language/concurrency.pod6
Expand Up @@ -312,8 +312,9 @@ This could also be written using the C<react> keyword:
}
}
Here the X<C<whenever>> keyword creates a tap on the L<Supply> from the provided
block. The C<react> block is exited when C<done()> is called in one of the taps.
Here the X<C<whenever>> keyword uses L«C<.act>|/type/Supply#method_act»
to create a tap on the L<Supply> from the provided block. The C<react>
block is exited when C<done()> is called in one of the taps.
A second argument can be supplied to C<interval> which specifies a delay
in seconds before the first event is fired. Each tap of a supply created
Expand Down

0 comments on commit 08c1b36

Please sign in to comment.