ballerina/lang.stream : 0.0.0
Module Overview
The lang.stream
module corresponds to the stream
basic type.
Functions
[7]
'map | Applies a function to each member of a stream and returns a stream of the results. |
close | Closes a stream. |
filter | Selects the members from a stream for which a function returns true. |
forEach | Applies a function to each member of a stream. |
iterator | Returns an iterator over a stream. |
next | Returns the next element in the stream wrapped in a record or () if the stream ends. |
reduce | Combines the members of a stream using a combining function. |
Types
[2]
Type | A type parameter that is a subtype of |
Type1 | A type parameter that is a subtype of |
Errors
[1]
ErrorType | A type parameter that is a subtype of |