trixnity-client
Toggle table of contents
4.14.1
common
Platform filter
common
Switch theme
Search in API
trixnity-client
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
(
SyncEvents
)
->
T
)
:
Result
<
T
>
Usually used for background sync.