Skip to content

Commit e016b7e

Browse files
the-eaterzoffixznet
authored andcommitted
Add docs for Proc::Async.ready (#1315)
1 parent a6365f3 commit e016b7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/Type/Proc/Async.pod6

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@ try sink await $p.start;
155155
156156
Returns C<False> before C<.start> has been called, and C<True> afterwards.
157157
158+
=head2 method ready
159+
160+
method(Proc::Async:D: --> Promise:D)
161+
162+
Returns a L<Promise|/type/Promise> that will be kept once the process
163+
has succesfully started. L<Promise|/type/Promise> will be broken if the program
164+
fails to start.
165+
158166
=head2 method path
159167
160168
method path(Proc::Async:D:)

0 commit comments

Comments
 (0)