Skip to content

Commit 2148faf

Browse files
committed
Proc::Async.say now calls .gist, just like regular &say. lizmat++
1 parent de93815 commit 2148faf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Type/Proc/Async.pod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ L<X::Proc::Async::MustBeStarted> exception is thrown.
159159
160160
=head2 method say
161161
162-
method say(Proc::Async:D: Str(Any) $str, :$scheduler = $*SCHEDULER)
162+
method say(Proc::Async:D: $output, :$scheduler = $*SCHEDULER)
163163
164-
Write the text data in C<$str> and a newline to the standard input stream of the external
164+
Calls method C<gist> on the C<$output>, adds a newline, encodes it as UTF-8,
165+
and sends it to the standard input stream of the external
165166
program, encoding it as UTF-8.
166167
167168
Returns a L<Promise|/type/Promise> that will be kept once the data has fully

0 commit comments

Comments
 (0)