trixnity-client
3.8.0
common
trixnity-client
/
net.folivo.trixnity.client
/
MatrixClient
/
syncOnce
sync
Once
abstract
suspend
fun
syncOnce
(
presence
:
Presence
?
=
Presence.OFFLINE
,
timeout
:
Long
=
0
)
:
Result
<
Unit
>
abstract
suspend
fun
<
T
>
syncOnce
(
presence
:
Presence
?
=
Presence.OFFLINE
,
timeout
:
Long
=
0
,
runOnce
:
suspend
(
Sync.Response
)
->
T
)
:
Result
<
T
>