<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">interface </span><ahref="index.html">WriteKeyValueRepo</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Key</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">Value</a><spanclass="token operator">></span> : <ahref="../-repo/index.html">Repo</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/KeyValueRepo.kt#L79">source</a>)</span></span></div><pclass="paragraph">Write part of <ahref="../-key-value-repo/index.html">KeyValueRepo</a></p><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>Key</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">This type will be used as key in all operations related to changes of data</p></div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>Value</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">This type will be used as incoming data in most operations</p></div></div></div></div></div><h4class="">Inheritors</h4><divclass="table"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-key-value-repo/index.html">KeyValueRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-delegate-based-key-value-repo/index.html">DelegateBasedKeyValueRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-write-map-key-value-repo/index.html">WriteMapKeyValueRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-map-key-value-repo/index.html">MapKeyValueRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../../dev.inmo.micro_utils.repos.cache/-key-value-cache-repo/index.html">KeyValueCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../../dev.inmo.micro_utils.repos.cache.fallback.keyvalue/-auto-recache-key-value-repo/index.html">AutoRecacheKeyValueRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro
<divclass="tabs-section"tabs-section="tabs-section"><buttonclass="section-tab"data-active=""data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button><buttonclass="section-tab"data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members & Extensions</button></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="on-new-value.html">onNewValue</a><spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Key</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">Value</a><spanclass="token operator">></span><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">This flow must emit data each time when data by <ahref="index.html">Key</a> has been changed with <ahref="set.html">set</a> method or in any other way excluding cases of data removing</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="on-value-removed.html">onValueRemoved</a><spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Key</a><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">This flow must emit data each time when data by <ahref="index.html">Key</a> has been removed with <ahref="unset.html">unset</a>/<ahref="unset-with-values.html">unsetWithValues</a> methods or in any other way</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="set.html"><spanclass="token function">set</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">toSet<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Key</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">Value</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will set as batch <ahref="set.html">toSet</a> data in current repo. Must pass the data which were successfully updated in repo to <ahref="on-new-value.html">onNewValue</a></p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="unset.html"><spanclass="token function">unset</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">toUnset<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Key</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will unset as batch data with keys from <ahref="unset.html">toUnset</a>. Must pass the <ahref="index.html">Key</a>s which were successfully removed in repo to <ahref="on-value-removed.html">onValueRemoved</a></p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="unset-with-values.html"><spanclass="token function">unsetWithValues</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">toUnset<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">Value</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will unset as batch data with values from <ahref="unset-with-values.html">toUnset</a>. Must pass the <ahref="index.html">Key</a>s which were successfully removed in repo to <ahref="on-value-removed.html">onValueRemoved</a></p></div></div></div>