trixnity-clientserverapi-client
3.7.0-beta2
common
trixnity-clientserverapi-client
/
net.folivo.trixnity.clientserverapi.client
/
startOnce
start
Once
suspend
fun
SyncApiClient
.
startOnce
(
filter
:
String
?
=
null
,
setPresence
:
Presence
?
=
null
,
currentBatchToken
:
MutableStateFlow
<
String
?
>
=
MutableStateFlow(null)
,
timeout
:
Long
=
0
,
withTransaction
:
suspend
(
block
:
suspend
(
)
->
Unit
)
->
Unit
=
{ it() }
,
asUserId
:
UserId
?
=
null
)
:
Result
<
Unit
>