trixnity-clientserverapi-client
3.0.0-beta3
trixnity-clientserverapi-client
/
net.folivo.trixnity.clientserverapi.client
/
SyncApiClient
/
startOnce
start
Once
abstract
suspend
fun
startOnce
(
filter
:
String
?
=
null
,
setPresence
:
Presence
?
=
null
,
currentBatchToken
:
MutableStateFlow
<
String
?
>
=
MutableStateFlow(null)
,
timeout
:
Long
=
0
,
asUserId
:
UserId
?
=
null
)
:
Result
<
Unit
>
abstract
suspend
fun
<
T
>
startOnce
(
filter
:
String
?
=
null
,
setPresence
:
Presence
?
=
null
,
currentBatchToken
:
MutableStateFlow
<
String
?
>
=
MutableStateFlow(null)
,
timeout
:
Long
=
0
,
asUserId
:
UserId
?
=
null
,
runOnce
:
suspend
(
Sync.Response
)
->
T
)
:
Result
<
T
>