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: 2.0-M5
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