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

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

There is a newer version: 1.10.0
Show newest version
package io.smallrye.mutiny.converters.multi;

import io.reactivex.Completable;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.converters.MultiConverter;

public class FromCompletable implements MultiConverter {
    public static final FromCompletable INSTANCE = new FromCompletable();

    private FromCompletable() {
        // Avoid direct instantiation
    }

    @Override
    public Multi from(Completable instance) {
        return Multi.createFrom().publisher(instance.toFlowable());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy