Sync Api Client Impl
class SyncApiClientImpl(httpClient: MatrixClientServerApiHttpClient) : EventEmitterImpl, SyncApiClient
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun <T> startOnce(filter: String?, setPresence: Presence?, currentBatchToken: MutableStateFlow<String?>, timeout: Long, withTransaction: suspend (onRollback: suspend () -> Unit, block: suspend () -> Unit) -> Unit, asUserId: UserId?, runOnce: suspend (Sync.Response) -> T): Result<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Extensions
Link copied to clipboard
suspend fun SyncApiClient.startOnce(filter: String? = null, setPresence: Presence? = null, currentBatchToken: MutableStateFlow<String?> = MutableStateFlow(null), timeout: Long = 0, withTransaction: suspend (onRollback: suspend () -> Unit, block: suspend () -> Unit) -> Unit = { _, b -> b() }, asUserId: UserId? = null): Result<Unit>