Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Proc::Async.write: accept Blob, not Buf
  • Loading branch information
moritz committed Jan 25, 2015
1 parent f120204 commit 6429a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Proc/Async.pm
Expand Up @@ -238,7 +238,7 @@ my class Proc::Async {
self.print( $str ~ "\n", |c );
}

method write(Proc::Async:D: Buf $b, :$scheduler = $*SCHEDULER) {
method write(Proc::Async:D: Blob:D $b, :$scheduler = $*SCHEDULER) {
X::Proc::Async::OpenForWriting.new(:method<write>).throw if !$!w;
X::Proc::Async::MustBeStarted.new(:method<write>).throw if !$!started;

Expand Down

0 comments on commit 6429a22

Please sign in to comment.