toggle menu
RTVI Client
androidJvm
switch theme
search in API
rtvi-client-android
/
ai.rtvi.client.result
/
withTimeout
with
Timeout
fun
<
V
>
Future
<
V
,
VoiceError
>
.
withTimeout
(
durationMs
:
Long
)
:
Future
<
V
,
VoiceError
>
Returns a new
Future
which times out after the specified duration.
Parameters
duration
Ms
Timeout in milliseconds.