ReplicaClient

fun ReplicaClient(    networkConnectivityProvider: NetworkConnectivityProvider? = null,     timeProvider: TimeProvider = RealTimeProvider(),     coroutineScope: CoroutineScope = DefaultCoroutineScope): ReplicaClient

Creates a replica client. Typically, it should be a singleton.

Parameters

networkConnectivityProvider
timeProvider
coroutineScope

a coroutine scope that represents life time of a replica client. This scope must have a single-thread coroutine dispatcher for example Dispatchers.Main.immediate.