Skip to content

Commit bfa7619

Browse files
committed
Adds return markers
Stop text running to long
1 parent b602d3c commit bfa7619

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

doc/Type/Supply.pod6

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,17 @@ Creates a new tap (a kind of subscription if you will), in addition to all
5959
existing taps. The first positional argument is a piece of code that will be
6060
called when a new value becomes available through the C<emit> call.
6161
62-
The C<&done> callback can be called in a number of cases: if a supply block is being tapped, when a C<done> routine is reached; if a supply block is being tapped, it will be automatically triggered if the supply block reaches the end; if the C<done> method is called on the parent C<Supplier> (in the case of a supply block, if there are multiple Suppliers referenced by C<whenever>, they must all have their C<done> method invoked for this to trigger the C<&done> callback of the tap as the block will then reach its end).
63-
64-
The C<&quit> callback is called if the tap is on a supply block which exits with an error. It is also called if the C<quit> method is invoked on the parent C<Supplier> (in the case of a supply block any one C<Supplier> quitting with an uncaught exception will call the C<&quit> callback as the block will exit with an error).
62+
The C<&done> callback can be called in a number of cases: if a supply block is being tapped, when a C<done> routine is reached;
63+
if a supply block is being tapped, it will be automatically triggered if the supply block reaches the end;
64+
if the C<done> method is called on the parent C<Supplier>
65+
(in the case of a supply block, if there are multiple Suppliers referenced by C<whenever>, they must
66+
all have their C<done> method invoked for this to trigger the C<&done> callback of the tap as the
67+
block will then reach its end).
68+
69+
The C<&quit> callback is called if the tap is on a supply block which exits with an error. It is also
70+
called if the C<quit> method is invoked on the parent C<Supplier> (in the case of a supply block any
71+
one C<Supplier> quitting with an uncaught exception will call the C<&quit> callback as the block will
72+
exit with an error).
6573
6674
Method C<tap> returns an object of type L<Tap|/type/Tap>, on which you can
6775
call the C<close> method to cancel the subscription.

0 commit comments

Comments
 (0)