org.reactfx.RecursiveStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of richtextfx Show documentation
Show all versions of richtextfx Show documentation
FX-Text-Area for formatted text and other special effects.
package org.reactfx;
import java.util.function.Consumer;
import org.reactfx.util.NotificationAccumulator;
class RecursiveStream extends EventStreamBase {
private final EventStream input;
public RecursiveStream(
EventStream input,
NotificationAccumulator, T, ?> pn) {
super(pn);
this.input = input;
}
@Override
protected Subscription observeInputs() {
return input.subscribe(this::emit);
}
}