Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missed one more Supply role -> Publish class
  • Loading branch information
lizmat committed Nov 11, 2013
1 parent 82ae35f commit fdc1356
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions S17-concurrency.pod
Expand Up @@ -473,8 +473,9 @@ further values. Expressing the possible invocations as a grammar:

more* [ done | fail ]? # invocations

The simplest Supply is a C<Supply> class, which is punned from the role. On the "pumping" end, this has corresponding
methods C<more>, C<done>, and C<fail>, which notify all current taps.
The simplest Supply is a C<Publish> class, which is punned from the role.
On the "pumping" end, this has corresponding methods C<more>, C<done>, and
C<fail>, which notify all current taps.

my $s = Supply.new;

Expand Down

0 comments on commit fdc1356

Please sign in to comment.