Module net.pincette.rs
Package net.pincette.rs
package net.pincette.rs
-
ClassDescriptionAccumulator<T,
U> Accumulates a publisher and when that's done it calls the provided function.After<T>A processor which emits a given value after all incoming values have been emitted.AskForever<T>This processor asks the upstream for more elements if it hasn't received any before the timeout, until the stream completes.Async<T>Emits the values produced by the stages in the order the stages arrive.AsyncDepend<T,R> Emits the values produced by functions in the order the values arrive.Base84 processors.Before<T>A processor which emits a given value before all incoming values have been emitted.With this class a publisher can be wrapped in a blocking iterable.Box<T,R, U> Combines two processors as one.Buffer<T>Buffers a number of values.Buffered<T,R> Base class for buffered processors.Chain<T>Chains processors after the initial publisher.Combine<T,R> Exposes the combination of a subscriber and a publisher as one processor.Commit<T>When the down stream requests more messages this indicates all messages it has received were processed correctly.Concat<T>Concatenates multiple publishers of the same type to form one publisher that completes when the last given publisher completes.Delegate<T,R> Delegates all operations to a given processor.Encode<T,R> This buffered processor delegates the stateful encoding of the incoming value stream to an encoder.Encoder<T,R> The interface for stateful encoders op value streams.Fanout<T>A subscriber that accepts multiple subscribers to all of which it passes all events.Filter<T>Filters elements based on a predicate.First<T>Emits only the first value it receives.Flatten<T>The processor emits the elements in the received publishers individually.FlattenList<T>The processor emits the elements in the received lists individually.HeadTail<T,R> A processor that doesn't emit the head of a stream, but instead gives it to a function.This is an input stream that can be used as a reactive streams subscriber.Provides constructors to which lambdas can be given.Last<T>Emits the last value it receives and then completes the stream.Mapper<T,R> Transforms a reactive stream.Merge<T>A publisher that emits everything that the given publishers emit.This is for emitters that can't be controlled in any way.NotFilter<T>Filters elements based on the negation opf a predicate.This is an output stream that can be used as a reactive streams publisher.PassThrough<T>A processor which just passes through all values.Per<T>Buffers a number of values.Pipe<T,R> Creates a pipeline of multiple processors.Probe<T>The processor lets all values through.ProcessorBase<T,R> A base class for reactive streams processors.Publishes the contents of a channel asByteBuffer
s.Functions to reduce a publisher and return the result as aCompletionStage
.Separator<T>A processor which emits a given value between the incoming value stream.This can be used to serialize the execution of mutating operations instead of locking the state within them.Source<T>Emits a list of values.Split<T>When the upstream or downstream could cause races, this processor serializes everything.Until<T>Emits the values until it receives one that matches the predicate, which is also emitted.Some utilities.Consumes a reactive stream ofByteBuffer
and writes it to a channel.