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

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

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