io.smallrye.mutiny.converters.multi.ToObservable Maven / Gradle / Ivy
package io.smallrye.mutiny.converters.multi;
import java.util.function.Function;
import io.reactivex.Observable;
import io.smallrye.mutiny.Multi;
public class ToObservable implements Function, Observable> {
public static final ToObservable INSTANCE = new ToObservable();
private ToObservable() {
// Avoid direct instantiation
}
@Override
public Observable apply(Multi multi) {
return Observable.fromPublisher(multi);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy