You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Type/Supply.pod6
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Creates a new tap (a kind of subscription if you will), in addition to all
59
59
existing taps. The first positional argument is a piece of code that will be
60
60
called when a new value becomes available through the C<emit> call.
61
61
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).
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
63
64
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).
0 commit comments