trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-client
/
de.connect2x.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.