Akashic
Toggle table of contents
0.0.5
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Akashic
akashic-core
/
codes.laurence.akashic.core.synchronous
/
waitForVersionAndResult
wait
For
Version
And
Result
suspend
fun
<
T
>
waitForVersionAndResult
(
checkMillis
:
Long
=
10
,
timeoutMillis
:
Long
,
version
:
Long
,
versionSource
:
suspend
(
)
->
Versioned
<
T
>
?
)
:
T
(
source
)
Polls until
versionSource
returns a value projected through at least
version
.