This commit is contained in:
Andrea Cavalli 2021-06-16 23:51:14 +02:00
parent e5f5108c91
commit 59b830b74f
1 changed files with 6 additions and 2 deletions

View File

@ -700,7 +700,9 @@ public class MonoUtils {
@Override
public void onNext(T t) {
handler.handle(t);
if (handler != null) {
handler.handle(t);
}
if (!fetchMode.get()) {
readCoreSubscription.request(1);
}
@ -713,7 +715,9 @@ public class MonoUtils {
@Override
public void onComplete() {
readEndHandler.handle(null);
if (readEndHandler != null) {
readEndHandler.handle(null);
}
}
});
return this;