This commit is contained in:
InsanusMokrassar
2025-02-20 03:08:54 +00:00
parent 8b24795cff
commit ff408aceb1
6521 changed files with 6715 additions and 6568 deletions

View File

@@ -46,7 +46,7 @@
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">
0.24.6 </div>
0.24.7 </div>
<div class="navigation-controls">
<div class="filter-section filter-section_loading" id="filter-section">
<button class="platform-tag platform-selector jvm-like" data-active=""
@@ -2467,6 +2467,21 @@
</div>
</div>
</div>
<a data-name="958703809%2FFunctions%2F-1478683138" anchor-label="retryOnFailure" id="958703809%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="retry-on-failure.html"><span>retry</span><wbr></wbr><span>On</span><wbr></wbr><span><span>Failure</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="958703809%2FFunctions%2F-1478683138"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><a href="retry-on-failure.html">T</a><span class="token operator">&gt; </span><a href="retry-on-failure.html"><span class="token function">retryOnFailure</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">count<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">action<span class="token operator">: </span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><a href="retry-on-failure.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="retry-on-failure.html">T</a></div><div class="brief "><p class="paragraph">Will try to execute <a href="retry-on-failure.html">action</a> and, if any exception will happen, execution will be retried. This process will happen at most <a href="retry-on-failure.html">count</a> times. There is no any limits on <a href="retry-on-failure.html">count</a> value, but <a href="retry-on-failure.html">action</a> will run at least once and <a href="retry-on-failure.html">retryOnFailure</a> will return its result if it is successful</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="644057402%2FFunctions%2F-1478683138" anchor-label="reversed" id="644057402%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">