On Mon, Feb 2, 2009 at 1:05 PM, <pugs-comm...@feather.perl6.nl> wrote:
> =item getc
> - our Bool method getc (IO $self: *...@list)
> + our Bool method getc (IO $self: Bool :async)
getc returning a Bool???
> -the latter case C<$!> is set).
> +the latter case C<$!> is set). The C<:async> flag lets the call
> +return an undefined value if no character is immediately available.
IMHO it would be better to call that non-blocking IO instead of
asynchronous IO, but I'm POSIX-biased.