DefinedGatherer
Defined in: src/stream/Gatherers.ts:24
What the factories here return: a Gatherer with every member defined.
Extends
Section titled “Extends”Gatherer<T,A,R>
Type Parameters
Section titled “Type Parameters”T
A
R
Methods
Section titled “Methods”andThen()
Section titled “andThen()”andThen<
RR>(that):DefinedGatherer<T,any,RR>
Defined in: src/stream/Gatherers.ts:35
Returns a gatherer that feeds this one’s output into that; the same as gather(this).gather(that).
Type Parameters
Section titled “Type Parameters”RR
Parameters
Section titled “Parameters”Gatherer<R, any, RR>
Returns
Section titled “Returns”DefinedGatherer<T, any, RR>
Throws
Section titled “Throws”NullPointerException if that is null
Overrides
Section titled “Overrides”GathererType.andThen
combiner()
Section titled “combiner()”combiner(): (
left,right) =>A
Defined in: src/stream/Gatherers.ts:28
Returns the state combiner; Gatherer.defaultCombiner() for a sequential-only gatherer.
Returns
Section titled “Returns”(left, right) => A
Overrides
Section titled “Overrides”GathererType.combiner
finisher()
Section titled “finisher()”finisher(): (
state,downstream) =>void
Defined in: src/stream/Gatherers.ts:30
Returns the finisher; Gatherer.defaultFinisher() when there is no finishing action.
Returns
Section titled “Returns”(state, downstream) => void
Overrides
Section titled “Overrides”GathererType.finisher
initializer()
Section titled “initializer()”initializer(): () =>
A
Defined in: src/stream/Gatherers.ts:26
Returns the state initializer; Gatherer.defaultInitializer() for a stateless gatherer.
Returns
Section titled “Returns”() => A
Overrides
Section titled “Overrides”GathererType.initializer
integrator()
Section titled “integrator()”integrator():
Integrator<A,T,R>
Defined in: src/stream/Gatherer.ts:39
Returns the Integrator called for each upstream element.
Returns
Section titled “Returns”Integrator<A, T, R>
Inherited from
Section titled “Inherited from”GathererType.integrator