Skip to content

Commit 59f7fc5

Browse files
committed
Document .pid and add some notes to .ready
1 parent 03ae546 commit 59f7fc5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/Type/Proc/Async.pod6

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,21 @@ Returns a L<Promise|/type/Promise> that will be kept once the process
287287
has successfully started. L<Promise|/type/Promise> will be broken if the program
288288
fails to start.
289289
290+
B<Implementation-specific note:> Starting from Rakudo 2018.04, the
291+
returned promise will hold the process id (PID).
292+
293+
=head2 method pid
294+
295+
method pid(Proc::Async:D: --> Promise:D)
296+
297+
Equivalent to L<ready>.
298+
299+
Returns a L<Promise|/type/Promise> that will be kept once the process
300+
has successfully started. L<Promise|/type/Promise> will be broken if the program
301+
fails to start.
302+
303+
B<Implementation-specific note:> Available starting from Rakudo 2018.04.
304+
290305
=head2 method path
291306
292307
method path(Proc::Async:D:)

0 commit comments

Comments
 (0)