ru.tinkoff.kora.common.util.flow.DrainSubscriber Maven / Gradle / Ivy
package ru.tinkoff.kora.common.util.flow;
import java.util.concurrent.Flow;
public class DrainSubscriber implements Flow.Subscriber {
@Override
public void onSubscribe(Flow.Subscription subscription) {
subscription.request(Long.MAX_VALUE);
}
@Override
public void onNext(T item) {
}
@Override
public void onError(Throwable throwable) {
}
@Override
public void onComplete() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy