API
Collections
Variable | Description |
---|---|
Returns the string concatenation of the values of Like Example
Since v0.0.1 | |
Returns a promise that resolves to the string concatenation of the values of
Like Example
Since v0.0.1 | |
Returns a promise that resolves to the string concatenation of the values of
Like WARNING: The iteration order of concur iterables is not deterministic, so the values will be concatenated in an arbitrary order. Example
Since v0.0.2 | |
Returns a Reducer that collects values to an Example
Since v0.0.1 | |
Returns a Reducer that reduces key-value pairs using Example
Since v2.0.0 | |
Returns a Reducer that concatenates values to a string where values
are separated by Joins like Use when composing reducers. Prefer join, joinAsync, and joinConcur for direct use on iterables. Example
Since v2.0.0 | |
Returns a KeyedReducer that collects key-value pairs to a In the case of pairs with duplicate keys, the value of the last one wins. Example
Since v0.0.1 | |
Returns a Reducer or OptionalReducer that reduces values to
an object or array of the same shape as Returns an OptionalReducer if at least one of the input reducers is an OptionalReducer. Otherwise, returns a Reducer. Example
Since v2.0.0 | |
Returns a KeyedReducer that collects key-value pairs to an object. In the case of pairs with duplicate keys, the value of the last one wins. Example
Since v0.0.1 | |
Returns a Reducer that collects values to a Example
Since v0.0.1 | |
Returns a KeyedReducer that collects key-value pairs to a In the case of pairs with duplicate keys, the value of the last one wins. Example
Since v0.0.1 | |
Returns a Reducer that collects objects to a Example
Since v0.0.1 |
Core
Name | Description |
---|---|
Represents a lazy collection of values, each of type The collection can be iterated by invoking the concur iterable with an
Invoking the concur iterable returns a promise that resolves when A concur iterable is effectively a cold push-based observable backed by some asynchronous operations. Example
Since v0.0.2 | |
The callback invoked for each value of a ConcurIterable. Since v2.0.0 | |
Returns an async iterable wrapper around WARNING: When passing a concur iterable the returned async iterable will buffer the values yielded by the concur iterable if they are not read from the async iterable as quickly as they are yielded by the concur iterable. This happens because concur iterables are push-based while async iterables are pull-based, which creates backpressure. Example
Since v0.0.2 | |
Returns a concur iterable wrapper around Example
Since v0.0.2 | |
Returns a function that takes a single parameter and pipes it through the given functions. Example
Since v0.0.2 | |
Returns a curried version of Example
Since v0.0.1 | |
An iterable that contains zero values. Can be used as an iterable of any type. Like Example
Since v0.0.1 | |
An async iterable that contains zero values. Can be used as an async iterable of any type. Like Example
Since v0.0.1 | |
A concur iterable that contains zero values. Can be used as a concur iterable of any type. Like Example
Since v0.0.2 | |
Returns an iterable equivalent, but not referentially equal, to Example
Since v2.0.0 | |
Returns an async iterable equivalent, but not referentially equal, to
Example
Since v2.0.0 | |
Returns an concur iterable equivalent, but not referentially equal, to
Example
Since v2.0.0 | |
Returns the result of piping Example
Since v0.0.1 |
Filters
Variable | Description |
---|---|
Returns an iterable containing the values of Example
Since v2.0.0 | |
Returns an async iterable containing the values of Example
Since v2.0.0 | |
Returns a concur iterable containing the values of Example
Since v2.0.0 | |
Returns an iterable that contains the values of Like Example
Since v0.0.1 | |
Returns an async iterable that contains the values of Like Example
Since v0.0.1 | |
Returns a concur iterable that contains the values of Like Example
Since v0.0.1 | |
Returns an iterable containing the values of Example
Since v0.0.1 | |
Returns an async iterable containing the values of Example
Since v0.0.1 | |
Returns a concur iterable containing the values of Example
Since v0.0.1 | |
Returns an iterable containing the first value of Like Example
Since v0.0.1 | |
Returns an async iterable containing the first value of Like Example
Since v0.0.1 | |
Returns a concur iterable containing the first value of Like Example
Since v0.0.1 | |
Returns an iterable containing the last value of Example
Since v0.0.1 | |
Returns an async iterable containing the last value of Example
Since v0.0.1 | |
Returns a concur iterable containing the last value of Example
Since v0.0.2 | |
Returns an iterable containing the values of Example
Since v0.0.1 | |
Returns an async iterable containing the values of Example
Since v0.0.2 | |
Returns an iterable containing the values of When values are deduplicated, the value earlier in iteration order wins. Example
Since v0.0.1 | |
Returns an async iterable containing the values of When values are deduplicated, the value earlier in iteration order wins. Example
Since v0.0.2 | |
Returns a concur iterable containing the values of When values are deduplicated, the value earlier in iteration order wins. Example
Since v0.0.2 | |
Returns a concur iterable containing the values of Example
Since v0.0.2 |
Generators
Name | Description |
---|---|
An iterable that yields integers in a range. See RangeIterable.step for obtaining a new iterable that skips integers in steps. Since v2.0.0 | |
Returns an infinite iterable that repeatedly yields the values of WARNING: This function does not buffer the values of Example
Since v0.0.1 | |
Returns an infinite async iterable that repeatedly yields the values of
WARNING: This function does not buffer the values of Example
Since v0.0.1 | |
Returns an iterable containing the entries of This differs from Example
Since v0.1.0 | |
Returns an infinite iterable that yields Example
Since v0.0.1 | |
Returns an infinite async iterable that yields Example
Since v0.0.1 | |
Returns an iterable containing the keys of This differs from Example
Since v0.1.0 | |
Returns a RangeIterable that yields the integers between Throws if either Example
Since v0.0.1 | |
Returns a RangeIterable that yields the integers between Throws if either Example
Since v0.0.1 | |
Returns an infinite iterable that repeatedly yields Example
Since v0.0.1 | |
Returns an iterable containing the values of This differs from Example
Since v0.1.0 |
Optionals
Name | Description |
---|---|
An async iterable containing exactly zero or one values. Since v2.0.0 | |
A concur iterable containing exactly zero or one values. Since v2.0.0 | |
An iterable containing exactly zero or one values. Since v2.0.0 | |
Returns the only value in Example
Since v0.0.1 | |
Returns a promise that resolves to the only value in Example
Since v0.0.1 | |
Returns a promise that resolves to the only value in Example
Since v0.0.2 | |
Returns a pair of iterables. If Example
Since v0.0.1 | |
Returns a promise that resolves to a pair of async iterables. If
Example
Since v0.0.1 | |
Returns the only value in Example
Since v0.0.1 | |
Returns a promise that resolves to the only value in Example
Since v0.0.1 | |
Returns a promise that resolves to the only value in Example
Since v0.0.2 |
Predicates
Variable | Description |
---|---|
Returns Like Example
Since v0.0.1 | |
Returns a promise that resolves to Like Example
Since v0.0.1 | |
Returns a promise that resolves to Like Example
Since v0.0.2 | |
Returns Like Example
Since v0.0.1 | |
Returns a promise that resolves to Like Example
Since v0.0.1 | |
Returns a promise that resolves to Like Example
Since v0.0.2 | |
Returns Like Example
Since v0.0.2 | |
Returns a promise that resolves to Like Example
Since v0.0.2 | |
Returns a promise that resolves to Like Example
Since v0.0.2 | |
Returns Example
Since v0.0.1 | |
Returns a promise that resolves to Example
Since v0.0.1 | |
Returns a promise that resolves to Example
Since v0.0.2 |
Reducers
Name | Description |
---|---|
An async reducer that reduces by combining pairs of values using function application. Since v2.0.0 | |
An async keyed reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawAsyncReducerWithoutFinish.add. The async keyed reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. The accumulator can be queried for values by key using RawAsyncKeyedReducer.get. Since v2.0.0 | |
An async reducer that reduces by combining pairs of values using RawAsyncOptionalReducerWithoutFinish.add and then transforming the final value using RawAsyncOptionalReducerWithFinish.finish. Since v2.0.0 | |
An async reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create, then adding values to the accumulator values using RawAsyncReducerWithoutFinish.add, and then transforming the final accumulator using RawAsyncReducerWithFinish.finish. The async reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. Since v2.0.0 | |
A reducer that reduces by combining pairs of values using function application. Example
Since v2.0.0 | |
A keyed reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawReducerWithoutFinish.add. The accumulator can be queried for values by key using RawKeyedReducer.get. Since v2.0.0 | |
A reducer that reduces by combining pairs of values using RawOptionalReducerWithoutFinish.add and then transforming the final value using RawOptionalReducerWithFinish.finish. It's identical to RawOptionalReducerWithFinish except its Example
Since v2.0.0 | |
An async keyed reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawAsyncReducerWithoutFinish.add. The async keyed reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. The accumulator can be queried for values by key using RawAsyncKeyedReducer.get. Since v2.0.0 | |
An async reducer that reduces by combining pairs of values using RawAsyncOptionalReducerWithoutFinish.add and then transforming the final value using RawAsyncOptionalReducerWithFinish.finish. Since v2.0.0 | |
An async reducer that reduces by combining pairs of values using RawAsyncOptionalReducerWithoutFinish.add. Since v2.0.0 | |
An async reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create, then adding values to the accumulator values using RawAsyncReducerWithoutFinish.add, and then transforming the final accumulator using RawAsyncReducerWithFinish.finish. The async reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. Since v2.0.0 | |
An async reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create and then adding values to the accumulator values using RawAsyncReducerWithoutFinish.add. The async reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. Since v2.0.0 | |
A keyed reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawReducerWithoutFinish.add. The accumulator can be queried for values by key using RawKeyedReducer.get. Since v2.0.0 | |
A reducer that reduces by combining pairs of values using RawOptionalReducerWithoutFinish.add and then transforming the final value using RawOptionalReducerWithFinish.finish. Example
Since v2.0.0 | |
A reducer that reduces by combining pairs of values using RawOptionalReducerWithoutFinish.add. Example
Since v2.0.0 | |
A reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create, then adding values to the accumulator values using RawReducerWithoutFinish.add, and then transforming the final accumulator using RawReducerWithFinish.finish. Example
Since v2.0.0 | |
A reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create and then adding values to the accumulator values using RawReducerWithoutFinish.add. Example
Since v2.0.0 | |
A reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create, then adding values to the accumulator values using RawReducerWithoutFinish.add, and then transforming the final accumulator using RawReducerWithFinish.finish. It's identical to RawReducerWithFinish except its Example
Since v2.0.0 | |
Returns an AsyncReducer equivalent to Since v2.0.0 | |
Returns a Reducer or OptionalReducer equivalent to Since v2.0.0 | |
A unique value representing the lack of an entry for some key in a KeyedReducer or AsyncKeyedReducer. Keyed reducers use this instead of Since v2.0.0 | |
Returns a non-raw version of Since v2.0.0 | |
Returns the result of reducing An initial accumulator is created using
RawReducerWithoutFinish.create. Then each value in If Like Example
Since v0.0.1 | |
Returns the result of reducing the Informally, an initial accumulator is created using
RawAsyncReducerWithoutFinish.create. Then each value in
If Like Example
Since v0.0.1 | |
Returns the result of reducing the Informally, an initial accumulator is created using
RawAsyncReducerWithoutFinish.create. Then each value in
If Like Example
Since v0.0.1 |
Side effects
Variable | Description |
---|---|
Returns an iterable equivalent to Example
Since v2.0.0 | |
Returns an async iterable equivalent to Example
Since v2.0.0 | |
Returns a concur iterable equivalent to Example
Since v2.0.0 | |
Iterates through Example
Since v2.0.0 | |
Iterates through Example
Since v2.0.0 | |
Iterates through the Example
Since v2.0.0 | |
Returns an iterable equivalent to Example
Since v0.0.1 | |
Returns an async iterable equivalent to The result of applying Example
Since v0.0.1 | |
Returns an concur iterable equivalent to The result of applying Example
Since v0.0.1 | |
Applies Like Example
Since v0.0.1 | |
Returns a promise that resolves when The result of applying Like Example
Since v0.0.1 | |
Returns a promise that resolves when Like Example
Since v0.0.1 |
Splices
Name | Description |
---|---|
Options for window, windowAsync, and windowConcur. Since v2.0.0 | |
Returns an iterable containing the value at the given WARNING: This function linearly iterates up to Throws if Example
Since v3.5.0 | |
Returns an async iterable containing the value at the given WARNING: This function linearly iterates up to Throws if Example
Since v3.5.0 | |
Returns a concur iterable containing the value at the given WARNING: This function linearly iterates up to Throws if Example
Since v3.5.0 | |
Returns an iterable equivalent to The last array in the returned iterable will contain fewer than Throws if Example
Since v2.0.0 | |
Returns an async iterable equivalent to The last array in the returned async iterable will contain fewer than Throws if Example
Since v2.0.0 | |
Returns a concur iterable equivalent to The last array in the returned concur iterable will contain fewer than Throws if Example
Since v2.0.0 | |
Returns an iterable that contains the values of each iterable in Like Example
Since v0.0.2 | |
Returns an async iterable that contains the values of each iterable in
Like Example
Since v0.0.2 | |
Returns a concur iterable that contains the values of each iterable in
Like Example
Since v0.0.1 | |
Returns an iterable containing the values of If the Throws if Example
Since v0.0.1 | |
Returns an async iterable containing the values of If the Throws if Example
Since v0.0.1 | |
Returns a concur iterable containing the values of If the Throws if Example
Since v0.0.2 | |
Returns an iterable containing the values of Example
Since v0.0.1 | |
Returns an async iterable containing the values of Example
Since v0.0.1 | |
Returns a concur iterable containing the values of Example
Since v0.0.2 | |
Returns an iterable containing the first value of Example
Since v0.0.1 | |
Returns an async iterable containing the first value of Example
Since v0.0.1 | |
Returns a concur iterable containing the first value of Example
Since v0.0.2 | |
Returns an iterable containing the last value of Example
Since v0.0.1 | |
Returns an async iterable containing the last value of Example
Since v0.0.1 | |
Returns a concur iterable containing the last value of Example
Since v0.0.2 | |
Returns an iterable containing the values of If any part of the range between WARNING: This function linearly iterates up to Throws if either Example
Since v3.5.0 | |
Returns an async iterable containing the values of If any part of the range between WARNING: This function linearly iterates up to Throws if either Example
Since v3.5.0 | |
Returns a concur iterable containing the values of If any part of the range between WARNING: This function linearly iterates up to Throws if either Example
Since v3.5.0 | |
Returns an iterable containing the first If the Throws if Example
Since v0.0.1 | |
Returns an async iterable containing the first If the Throws if Example
Since v0.0.1 | |
Returns a concur iterable containing the first If the Throws if Example
Since v0.0.2 | |
Returns an iterable containing the values of Example
Since v0.0.1 | |
Returns an async iterable containing the values of Example
Since v0.0.1 | |
Returns a concur iterable containing the values of Example
Since v0.0.2 | |
Returns an iterable containing a rolling window of the values of Throws if Example
Since v2.0.0 | |
Returns an async iterable containing a rolling window of the values of
Throws if Example
Since v2.0.0 | |
Returns a concur iterable containing a rolling window of the values of
Throws if Example
Since v2.0.0 | |
Returns an iterable that pairs up same-index values from the given
The Example
Since v3.8.0 | |
Returns an async iterable that pairs up same-index values from the given
The Example
Since v3.8.0 | |
Returns a concur iterable that pairs up same-index values, in iteration
order, from the given The WARNING: If one of the concur iterables yields values more quickly than others, then an unbounded number of its values will be buffered so that they can be yielded with the values of other concur iterables at the same index. Example
Since v3.8.0 |
Statistics
Name | Description |
---|---|
A function that compares two values of type A return value that awaits to:
Since v0.0.2 | |
A function that compares two values of type A return value:
Since v0.0.2 | |
An object containing a minimum and maximum value. Since v0.0.2 | |
Returns the number of values in Like Example
Since v0.0.1 | |
Returns a promise that resolves to the number of values in Like Example
Since v0.0.1 | |
Returns a promise that resolves to the number of values in Like Example
Since v0.0.1 | |
Returns an iterable containing a maximum value of Example
Since v0.0.1 | |
Returns an async iterable containing a maximum value of Example
Since v0.0.1 | |
Returns an iterable containing a maximum value of Example
Since v0.0.1 | |
Returns an async iterable containing a maximum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a maximum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a maximum value of Example
Since v0.0.1 | |
Returns an iterable containing a maximum value of Example
Since v0.0.1 | |
Returns an async iterable containing a maximum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a maximum value of Example
Since v0.0.1 | |
Returns the mean of the numbers of Returns Example
Since v3.5.0 | |
Returns a promise that resolves to the mean of the numbers of
Returns a promise that resolves to Example
Since v3.5.0 | |
Returns a promise that resolves to the mean of the numbers of
Returns a promise that resolves to Example
Since v3.5.0 | |
Returns an iterable containing a minimum value of Example
Since v0.0.1 | |
Returns an async iterable containing a minimum value of Example
Since v0.0.1 | |
Returns an iterable containing a minimum value of Example
Since v0.0.1 | |
Returns an async iterable containing a minimum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a minimum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a minimum value of Example
Since v0.0.1 | |
Returns an iterable containing a MinMax value of Example
Since v0.0.2 | |
Returns an async iterable containing a MinMax value of
Example
Since v0.0.2 | |
Returns an iterable containing a MinMax value of Example
Since v0.0.2 | |
Returns an async iterable containing a MinMax value of
Example
Since v0.0.2 | |
Returns a concur iterable containing a MinMax value of
Example
Since v0.0.2 | |
Returns a concur iterable containing a MinMax value of
Example
Since v0.0.2 | |
Returns an iterable containing a MinMax value of Example
Since v0.0.2 | |
Returns an async iterable containing a MinMax value of
Example
Since v0.0.1 | |
Returns a concur iterable containing a MinMax value of
Example
Since v0.0.2 | |
Returns an iterable containing a minimum value of Example
Since v0.0.1 | |
Returns an async iterable containing a minimum value of Example
Since v0.0.1 | |
Returns a concur iterable containing a minimum value of Example
Since v0.0.1 | |
Returns the sum of the numbers of Example
Since v0.0.1 | |
Returns a promise that resolves to the sum of the numbers of Example
Since v0.0.1 | |
Returns a promise that resolves to the sum of the numbers of
Example
Since v0.0.1 | |
Returns a Reducer that counts the number of values it receives. Use when composing reducers. Prefer count, countAsync, and countConcur for direct use on iterables. Example
Since v2.0.0 | |
Returns an optional reducer that finds the maximum value of the values it receives. Use when composing reducers. Prefer max for direct use on iterables. Example
Since v2.0.0 | |
Returns an optional reducer that finds the maximum value of the values it
receives based on the Use when composing reducers. Prefer maxBy for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the maximum value of the values
it receives based on the Use when composing reducers. Prefer maxByAsync and maxByConcur for direct use on iterables. Since v2.0.0 | |
Returns an optional reducer that finds the maximum value of the values it
receives by comparing the numerical values of each value, as defined by Use when composing reducers. Prefer maxWith for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the maximum value of the values
it receives by comparing the numerical values of each value, as defined by
Use when composing reducers. Prefer maxWithAsync and maxWithConcur for direct use on iterables. Since v2.0.0 | |
Returns a Reducer that computes the mean of the numbers it receives. Use when composing reducers. Prefer mean, meanAsync, and meanConcur for direct use on iterables. Example
Since v3.5.0 | |
Returns an optional reducer that finds the minimum value of the values it receives. Use when composing reducers. Prefer min for direct use on iterables. Example
Since v2.0.0 | |
Returns an optional reducer that finds the minimum value of the values it
receives based on the Use when composing reducers. Prefer minBy for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the minimum value of the values
it receives based on the Use when composing reducers. Prefer minByAsync and minByConcur for direct use on iterables. Since v2.0.0 | |
Returns an optional reducer that finds the MinMax value of the values it receives. Use when composing reducers. Prefer minMax for direct use on iterables. Example
Since v2.0.0 | |
Returns an optional reducer that finds the MinMax value of the values
it receives based on the Use when composing reducers. Prefer minMaxBy for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the MinMax value of the
values it receives based on the Use when composing reducers. Prefer minMaxByAsync and minMaxByConcur for direct use on iterables. Since v2.0.0 | |
Returns an optional reducer that finds the MinMax value of the values
it receives by comparing the numerical values of each value, as defined by
Use when composing reducers. Prefer minMaxWith for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the MinMax value of the
values it receives by comparing the numerical values of each value, as
defined by Use when composing reducers. Prefer minMaxWithAsync and minMaxWithConcur for direct use on iterables. Since v2.0.0 | |
Returns an optional reducer that finds the minimum value of the values it
receives by comparing the numerical values of each value, as defined by Use when composing reducers. Prefer minWith for direct use on iterables. Example
Since v2.0.0 | |
Returns an async optional reducer that finds the minimum value of the values
it receives by comparing the numerical values of each value, as defined by
Use when composing reducers. Prefer minWithAsync and minWithConcur for direct use on iterables. Since v2.0.0 | |
Returns a Reducer that sums the numbers it receives. Use when composing reducers. Prefer sum, sumAsync, and sumConcur for direct use on iterables. Example
Since v2.0.0 |
Transforms
Variable | Description |
---|---|
Returns an iterable containing the values of the iterables returned from
applying Like Example
Since v0.0.1 | |
Returns an async iterable containing the values of the async iterables
returned, or resolving from promises returned, from applying Like Example
Since v0.0.1 | |
Returns an concur iterable containing the values of the concur iterables
returned, or resolving from promises returned, from applying Like Example
Since v0.0.1 | |
Returns an iterable that contains the values of each iterable in Like Example
Since v0.0.1 | |
Returns an async iterable that contains the values of each iterable in
Like Example
Since v0.0.1 | |
Returns a concur iterable that contains the values of each iterable in
Like Unlike concat and concatAsync, this function does not necessarily iterate over each iterable in sequence. Example
Since v0.0.1 | |
Returns an iterable equivalent to Example
Since v2.0.0 | |
Returns an async iterable equivalent to Example
Since v2.0.0 | |
Returns a concur iterable equivalent to Example
Since v2.0.0 | |
Returns an iterable containing the values of Like Example
Since v0.0.1 | |
Returns an async iterable containing the values of Like Example
Since v0.0.1 | |
Returns a concur iterable containing the values of Like Example
Since v0.0.1 |