This commit is contained in:
InsanusMokrassar
2026-09-23 17:36:04 +00:00
parent 86d5770b36
commit 26bd39cf2e
6589 changed files with 6636 additions and 6636 deletions

View File

@@ -43,7 +43,7 @@
</button>
<div class="navigation-controls--break ui-kit_mobile-only"></div>
<div class="library-version" id="library-version">
0.31.0 </div>
0.31.1 </div>
<div class="navigation-controls">
<ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
<button class="platform-tag platform-selector common-like" data-active="" aria-pressed="true"
@@ -108,7 +108,7 @@
<div class="cover ">
<h1 class="cover"><span>wait</span><wbr></wbr><span><span>Release</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="-smart-semaphore/index.html">SmartSemaphore</a><span class="token punctuation">.</span><a href="wait-release.html"><span class="token function">waitRelease</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">permits<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span><span class="token constant">1</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="source-link-wrapper"><span class="source-link" data-element-type="source-link">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/SmartSemaphore.kt#L169">source</a>)</span></span></div><p class="paragraph">Will wait until the <a href="-smart-semaphore/permits-state-flow.html">SmartSemaphore.permitsStateFlow</a> of <a href="-smart-semaphore/index.html">this</a> instance will have <a href="wait-release.html">permits</a> count free permits.</p><p class="paragraph">Anyway, after the end of this block there are no any guaranties that <a href="-smart-semaphore/free-permits.html">SmartSemaphore.freePermits</a>>= <a href="wait-release.html">permits</a> due to the fact that some other parties may lock it again</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="-smart-semaphore/index.html">SmartSemaphore</a><span class="token punctuation">.</span><a href="wait-release.html"><span class="token function">waitRelease</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">permits<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span><span class="token constant">1</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="source-link-wrapper"><span class="source-link" data-element-type="source-link">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/SmartSemaphore.kt#L173">source</a>)</span></span></div><p class="paragraph">Will wait until the <a href="-smart-semaphore/permits-state-flow.html">SmartSemaphore.permitsStateFlow</a> of <a href="-smart-semaphore/index.html">this</a> instance will have <a href="wait-release.html">permits</a> count free permits.</p><p class="paragraph">Anyway, after the end of this block there are no any guaranties that <a href="-smart-semaphore/free-permits.html">SmartSemaphore.freePermits</a>>= <a href="wait-release.html">permits</a> due to the fact that some other parties may lock it again</p></div></div>
</div>
<div class="footer">
<div class="footer--container">