StructStream
Represents a stream of structs.
Initialize the stream.
init (stream<anydata, Error?> anydataStream)
anydata stream
Retrieve the next value of the stream.
Close the stream.
function next() returns record {| value map<anydata> |} | Error?
Returns the next value of the stream or else an error
function close() returns Error?
Returns an error if failed to close the stream