Change from AwaitKt to MonoKt

Issue gh-13539
This commit is contained in:
Josh Cummings 2023-07-14 16:11:49 -06:00
parent 6c3636d780
commit a08036aee5
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ import java.lang.reflect.Method;
import java.util.Collection;
import kotlin.coroutines.Continuation;
import kotlinx.coroutines.reactive.AwaitKt;
import kotlinx.coroutines.reactive.ReactiveFlowKt;
import kotlinx.coroutines.reactor.MonoKt;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.reactivestreams.Publisher;
@ -202,7 +202,7 @@ public class PrePostAdviceReactiveMethodInterceptor implements MethodInterceptor
}
private static Object awaitSingleOrNull(Publisher<?> publisher, Object continuation) {
return AwaitKt.awaitSingleOrNull(publisher, (Continuation<Object>) continuation);
return MonoKt.awaitSingleOrNull(publisher, (Continuation<?>) continuation);
}
}