Skip to content

Commit 9e8265d

Browse files
committed
fix bad copypasta, also the callback doesn't have to be a method
1 parent af5f3ad commit 9e8265d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Supply.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ called when a new value becomes available through the C<emit> call.
6060
6161
The C<&done> callback is called when the C<done> method on the supply is
6262
called, indicating the end of life of the channel. For a C<live> supply the
63-
C<done> method will be called on the parent C<Supplier>.
63+
C<done> routine will be called on the parent C<Supplier>.
6464
6565
The C<&quit> callback is called when the C<quit> method on the supply is
6666
called, indicating an erroneous termination of the supply. For a C<live>
67-
supply the C<done> method will be called on the parent C<Supplier>
67+
supply the C<quit> routine will be called on the parent C<Supplier>
6868
6969
Method C<tap> returns an object of type L<Tap|/type/Tap>, on which you can
7070
call the C<close> method to cancel the subscription.

0 commit comments

Comments
 (0)