io:LineStream is used to initialize a stream of the type strings(lines). This
io:LineStream refers to the
stream that is embedded to the I/O character channels.
io:LineStream using an
init (ReadableCharacterChannel readableCharacterChannel)
- readableCharacterChannel ReadableCharacterChannel
io:ReadableCharacterChannelthat the line stream is referred to
The next function reads and returns the next line of the related stream.
function close() returns Error?
Closes the stream. The primary usage of this function is to close the stream without reaching the end
If the stream reaches the end, the
LineStream.next() will automatically close the stream.
() when the closing was successful or an