Ktor Write Key Value Repo Client
class KtorWriteKeyValueRepoClient<Key, Value>( baseUrl: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, val onNewValue: Flow<Pair<Key, Value>>, val onValueRemoved: Flow<Key>, idsListTypeInfo: <Error class: unknown class>, objectsListTypeInfo: <Error class: unknown class>, idsToObjectsMapTypeInfo: <Error class: unknown class>) : WriteKeyValueRepo<Key, Value>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <Key, Value> KtorWriteKeyValueRepoClient( baseUrl: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, onNewValue: Flow<Pair<Key, Value>>, onValueRemoved: Flow<Key>, idsListTypeInfo: <Error class: unknown class>, objectsListTypeInfo: <Error class: unknown class>, idsToObjectsMapTypeInfo: <Error class: unknown class>)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Will unset as batch data with values from toUnset. Must pass the Keys which were successfully removed in repo to onValueRemoved
Properties
Link copied to clipboard
Link copied to clipboard
This flow must emit data each time when data by Key has been removed with unset/unsetWithValues methods or in any other way