-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on Kotlin's suspend
#3
Comments
There is a Kotlin DSL but it's not using |
One of the nuisances of
requires a parallel API:
The bytecode of I'm not sure what the shape of API would be for Awaitility. Take this example from the docs:
and say it looks like this:
The code block needs a coroutine context to execute because |
Thinking about it more. It might mean a parallel API of imports so that what the caller types is the same with or without |
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.
The text was updated successfully, but these errors were encountered: