toggle menu
trixnity-client
4.2.1
common
switch theme
search in API
trixnity-client
/
net.folivo.trixnity.client
/
MatrixClientImpl
/
syncOnce
sync
Once
open
suspend override
fun
syncOnce
(
presence
:
Presence
?
,
timeout
:
Duration
)
:
Result
<
Unit
>
open
suspend override
fun
<
T
>
syncOnce
(
presence
:
Presence
?
,
timeout
:
Duration
,
runOnce
:
suspend
(
Sync.Response
)
->
T
)
:
Result
<
T
>
Usually used for background sync.