ReplicatedModel

class ReplicatedModel(val client: IModelClientV2, val branchRef: BranchReference, providedScope: CoroutineScope? = null, initialRemoteVersion: CLVersion? = null)

Dispose should be called on this, as otherwise a regular polling will go on.

Constructors

Link copied to clipboard
constructor(client: IModelClientV2, branchRef: BranchReference, providedScope: CoroutineScope? = null, initialRemoteVersion: CLVersion? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the model server branch to fetch the data from

Link copied to clipboard

the model client to connect to the model server

Functions

Link copied to clipboard
fun dispose()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun resetToServerVersion()
Link copied to clipboard
suspend fun start(): IBranch