org.reactfx.RecursiveStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactfx Show documentation
Show all versions of reactfx Show documentation
Reactive event streams for JavaFX
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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy