All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.reactfx.RecursiveStream Maven / Gradle / Ivy

There is a newer version: 1.11
Show newest version
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