Function to either send a value onto the stream -- by providing a value, stream1(value) -- or
to get the stream's latest value -- by calling the function with no arguments, stream1().
the stream's latest value.
Optional value: Tthe value to send onto the stream. If not provided, the function instead returns the stream's latest value.
Optional ended?: booleanIndicates whether or not this stream has been ended.
Function to create a new stream with values that are the result of calling a mapping function on the source stream's values.
a stream resulting from mapping the source stream.
the type of the returned stream's values.
the mapping function.
Generated using TypeDoc
the type of the stream's values.