import { type StreamConstructors } from "https://deno.land/x/rimbu@0.13.5/stream/custom/constructors.ts";
Methods
Returns an empty Stream of given type T.
Returns a non-empty Stream containing the given values
Returns a Stream containing the values in the given sources
concatenated
Returns a Stream returning elements from the given array
, taking into account the given options.
Returns a Stream consisting of the object keys from the given obj
object.
Returns a Stream consisting of the object values from the given obj
object.
Returns a Stream consisting of the object entries as tuples from the given obj
object.
Returns a Stream consisting of the characters from given string source
, taking into account the given
options.
For a Stream of tuples, supplied each tuple element as an argument to given function f
for each element of the Stream, with the optionally given args
as extra arguments.
For a Stream of tuples in given source
, returns a Stream with the result of supplying each tuple element as an argument to given mapFun
function for each element of the Stream,
with the optionally given args
as extra arguments.
For a Stream of tuples in given source
, returns a Stream where the result of supplying each tuple element as an argument to given mapFun
function for each element of the Stream,
with the optionally given args
as extra arguments, is true.
Returns a Stream of numbers within the given range
, increasing or decreasing with optionally given delta
.
Returns an infinite Stream containing random numbers between 0 and 1.
Returns an infinite Stream containing random integer numbers between given min
and max
Returns a possibly infinite Stream starting with given init
value, followed by applying given next
function to the previous value.
Returns a Stream with the result of applying given zipFun
to each successive value resulting from the given sources
.
Returns a Stream with tuples containing each successive value from the given sources
.
Returns a Stream with the result of applying given zipFun
to each successive value resulting from the given sources
, adding
given fillValue
to any Streams that end before all streams have ended.
Returns a Stream with tuples containing each successive value from the given sources
, adding given fillValue
to any Streams
that end before all streams have ended.
Returns a Stream concatenating the given source
StreamSource containing StreamSources.