Package-level declarations
Types
Link copied to clipboard
open class ActiveBranch(val client: IModelClient, val repository: RepositoryId, branchName: String?, user: () -> String) : IIndirectBranch
Link copied to clipboard
Link copied to clipboard
interface ConnectionListener
Link copied to clipboard
typealias ConnectionStatusListener = (oldValue: RestWebModelClient.ConnectionStatus, newValue: RestWebModelClient.ConnectionStatus) -> Unit
Link copied to clipboard
Link copied to clipboard
interface IIndirectBranch
Link copied to clipboard
Link copied to clipboard
expect class ReplicatedRepository(client: IModelClient, branchReference: BranchReference, user: () -> String)
actual class ReplicatedRepository(client: IModelClient, branchReference: BranchReference, user: () -> String)
actual open class ReplicatedRepository(client: IModelClient, branchReference: BranchReference, user: () -> String)
Dispose should be called on this, as otherwise a regular polling will go on.
Link copied to clipboard
class RestWebModelClient @JvmOverloads constructor(var baseUrl: String = defaultUrl, authTokenProvider: () -> String?? = null, initialConnectionListeners: List<ConnectionListener> = emptyList(), providedClient: HttpClient? = null) : IModelClient
We need to specify the connection listeners right into the constructor because connection is started in the constructor.
Link copied to clipboard
object SharedExecutors
Link copied to clipboard
Link copied to clipboard
abstract class VersionChangeDetector(store: IKeyValueStore, key: String, coroutineScope: CoroutineScope)