Skip to content

Commit 96297a3

Browse files
committed
CLOSE phaser
1 parent 0676896 commit 96297a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/Language/phasers.pod6

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Here is a summary:
4444
QUIT {...} # catch async exceptions within a whenever-block, runs very last
4545
4646
COMPOSE {...} # when a role is composed into a class
47+
CLOSE {...} # appears in a supply block, called when the supply is closed
4748
4849
Phasers marked with a C<*> have a run-time value, and if evaluated earlier than
4950
their surrounding expression, they simply save their result for use in the
@@ -224,6 +225,10 @@ treated as if declared at C<use> time in the using module. (It is erroneous to
224225
depend on this order if the module is used more than once, however, since the
225226
phasers are only installed the first time they're noticed.)
226227
228+
=head2 X<CLOSE|CLOSE (phasers)>
229+
230+
Appears in a supply block. Called when the supply is closed.
231+
227232
=head1 Block Phasers
228233
229234
Execution in the context of a block has its own phases.

0 commit comments

Comments
 (0)