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

io.smallrye.mutiny.converters.uni.FromCompletable Maven / Gradle / Ivy

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