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