Hello, Is there support for returning a value from the new eventually API’s? I’m looking at
https://kotest.io/docs/framework/concurrency/eventually.html for details. I currently have something like this with kotest in 4.4:
suspend fun RecommendationsExhaustedEventRepository.findByCausationIdEventually(causationId: UUID): RecommendationsExhaustedEvent {
return eventually(30.seconds, IllegalStateException::class) {
checkNotNull(
this.findByCausationId(causationId)
)
}
}
and trying to do the same thing with 4.6. FWIW, I’m also fine with leaving the eventually as is, and not moving to the new API, but I get this too:
java.lang.NoSuchMethodError: 'java.lang.Object io.kotest.assertions.timing.EventuallyKt.eventually-8-LJAvk(double, kotlin.reflect.KClass, kotlin.jvm.functions.Function1, kotlin.coroutines.Continuation)'
I see that error with Kotlin 1.4.32 and 1.5.30