Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add PIO.send/poll
  • Loading branch information
lizmat committed Jan 12, 2015
1 parent ccf03bf commit dafbcd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/PIO.pm
Expand Up @@ -361,6 +361,15 @@ my role PIO {
True;
}

method send(PIO:D: |c) {
DEPRECATED('print',|<2015.01 2016.01>);
self.print(|c);
}

method poll(PIO:D:) {
die $?CLASS.^name ~ '.poll is NYI on ' ~ $*VM.name;
}

method opened(PIO:D:) {
nqp::p6bool(nqp::istrue($!PIO));
}
Expand Down

0 comments on commit dafbcd7

Please sign in to comment.