trixnity-clientserverapi-client
3.7.0-beta2
common
trixnity-clientserverapi-client
/
net.folivo.trixnity.clientserverapi.client
/
SyncApiClientImpl
/
startOnce
start
Once
open
suspend override
fun
<
T
>
startOnce
(
filter
:
String
?
,
setPresence
:
Presence
?
,
currentBatchToken
:
MutableStateFlow
<
String
?
>
,
timeout
:
Long
,
withTransaction
:
suspend
(
block
:
suspend
(
)
->
Unit
)
->
Unit
,
asUserId
:
UserId
?
,
runOnce
:
suspend
(
Sync.Response
)
->
T
)
:
Result
<
T
>