Skip to content

Commit

Permalink
Change from AwaitKt to MonoKt
Browse files Browse the repository at this point in the history
Issue gh-13539
  • Loading branch information
jzheaux committed Jul 15, 2023
1 parent 6c3636d commit a08036a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
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;
Expand Down Expand Up @@ -202,7 +202,7 @@ private static Object asFlow(Publisher<?> publisher) {
}

private static Object awaitSingleOrNull(Publisher<?> publisher, Object continuation) {
return AwaitKt.awaitSingleOrNull(publisher, (Continuation<Object>) continuation);
return MonoKt.awaitSingleOrNull(publisher, (Continuation<?>) continuation);
}

}
Expand Down

0 comments on commit a08036a

Please sign in to comment.