Is there documentation on the interaction of Awaitility with Kotlin's suspend?
I'd like to use Awaitility in a Kotlin library that itself it built around use of suspend. Presently there are icky sleep-like calls in tests, eg:
suspend fun waitForDispatch(millis: Long = 50) = delay(millis)
And the test functions themselves do not guard against timeout, etc. :(
I've used Awaitility on Java projects, and am eager to do the same for Kotlin.
Is there documentation on the interaction of Awaitility with Kotlin's
suspend?I'd like to use Awaitility in a Kotlin library that itself it built around use of
suspend. Presently there are icky sleep-like calls in tests, eg:And the test functions themselves do not guard against timeout, etc. :(
I've used Awaitility on Java projects, and am eager to do the same for Kotlin.