Record Class StreamableInterceptConfig<T>

java.lang.Object
java.lang.Record
io.reactivex.rxjava4.core.config.StreamableInterceptConfig<T>
Type Parameters:
T - the element type of the sequence
Record Components:
onStream - called when the Streamable.stream(StreamerCancellation) is invoked
onNext - called when the Streamer.next() is invoked
onCurrent - called when the Streamer.current() is invoked
onFinish - called when the Streamer.finish() is invoked

public record StreamableInterceptConfig<T>(@NonNull BiFunction<? super StreamerCancellation, ? super Streamer<? extends T>, ? extends Streamer<? extends T>> onStream, @NonNull BiFunction<? super StreamerCancellation, ? super CompletionStage<Boolean>, ? extends CompletionStage<Boolean>> onNext, @NonNull Function<? super T, ? extends T> onCurrent, @NonNull BiFunction<? super StreamerCancellation, ? super CompletionStage<Void>, ? extends CompletionStage<Void>> onFinish) extends Record
Configuration record the intercept() operator with various lifecylce-stage transforming callbacks
Since:
4.0.0