20 lines
597 B
Java
20 lines
597 B
Java
package io.reactivex.internal.operators.maybe;
|
|
|
|
import io.reactivex.MaybeSource;
|
|
import io.reactivex.functions.Function;
|
|
import org.reactivestreams.Publisher;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum MaybeToPublisher implements Function<MaybeSource<Object>, Publisher<Object>> {
|
|
INSTANCE;
|
|
|
|
public static <T> Function<MaybeSource<T>, Publisher<T>> instance() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
@Override // io.reactivex.functions.Function
|
|
public Publisher<Object> apply(MaybeSource<Object> maybeSource) throws Exception {
|
|
return new MaybeToFlowable(maybeSource);
|
|
}
|
|
}
|