method flush
1 | class IO::CatHandle |
1.1 | (IO::CatHandle) method flush |
2 | class IO::Handle |
2.1 | (IO::Handle) method flush |
Documentation for method flush
assembled from the following types:
class IO::CatHandle
From IO::CatHandle
(IO::CatHandle) method flush
Defined as:
multi method flush(|)
The IO::CatHandle type overrides this method to throw a X::NYI
exception. If you have a good idea for how this method should behave, tell Rakudo developers about it!
class IO::Handle
From IO::Handle
(IO::Handle) method flush
Defined as:
method flush(IO::Handle: --> True)
Will flush the handle, writing any of the buffered data. Returns True
on success; otherwise, fails with X::IO::Flush
.
given "foo".IO.open: :w