io.smallrye.mutiny.converters.uni.FromFlowable Maven / Gradle / Ivy
package io.smallrye.mutiny.converters.uni;
import io.reactivex.Flowable;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.converters.UniConverter;
public class FromFlowable implements UniConverter, T> {
public static final FromFlowable INSTANCE = new FromFlowable();
private FromFlowable() {
// Avoid direct instantiation
}
@Override
public Uni from(Flowable instance) {
return Uni.createFrom().publisher(instance);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy