StdStream¶
Asynchronous access to stdout and stderr. The constructors are private to ensure that access is provided only via an environment.
actor tag StdStream
Public Behaviours¶
print¶
Print some bytes and insert a newline afterwards.
be print(
data: (String val | Array[U8 val] val))
Parameters¶
write¶
Print some bytes without inserting a newline afterwards.
be write(
data: (String val | Array[U8 val] val))
Parameters¶
printv¶
Print an iterable collection of ByteSeqs.
be printv(
data: ByteSeqIter val)
Parameters¶
- data: ByteSeqIter val
writev¶
Write an iterable collection of ByteSeqs.
be writev(
data: ByteSeqIter val)
Parameters¶
- data: ByteSeqIter val
flush¶
Flush any data out to the os (ignoring failures).
be flush()