mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-10-28 10:40:38 +00:00
deploy: 8ae983971a
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</button>
|
||||
<div class="navigation-controls--break ui-kit_mobile-only"></div>
|
||||
<div class="library-version" id="library-version">
|
||||
0.25.2 </div>
|
||||
0.25.3 </div>
|
||||
<div class="navigation-controls">
|
||||
<div class="filter-section filter-section_loading" id="filter-section">
|
||||
<button class="platform-tag platform-selector common-like" data-active=""
|
||||
@@ -109,7 +109,7 @@
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>wait</span><wbr></wbr><span>Write</span><wbr></wbr><span><span>Unlock</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:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="-smart-r-w-locker/index.html">SmartRWLocker</a><span class="token punctuation">.</span><a href="wait-write-unlock.html"><span class="token function">waitWriteUnlock</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/SmartRWLocker.kt#L105">source</a>)</span></span></div><p class="paragraph">Will wait until the <a href="-smart-mutex/lock-state-flow.html">SmartMutex.lockStateFlow</a> of <span data-unresolved-link="dev.inmo.micro_utils.coroutines//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> instance will be false.</p><p class="paragraph">Anyway, after the end of this block there are no any guaranties that <a href="-smart-mutex/is-locked.html">SmartMutex.isLocked</a> == false 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:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="-smart-r-w-locker/index.html">SmartRWLocker</a><span class="token punctuation">.</span><a href="wait-write-unlock.html"><span class="token function">waitWriteUnlock</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/SmartRWLocker.kt#L112">source</a>)</span></span></div><p class="paragraph">Will wait until the <a href="-smart-mutex/lock-state-flow.html">SmartMutex.lockStateFlow</a> of <span data-unresolved-link="dev.inmo.micro_utils.coroutines//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> instance will be false.</p><p class="paragraph">Anyway, after the end of this block there are no any guaranties that <a href="-smart-mutex/is-locked.html">SmartMutex.isLocked</a> == false due to the fact that some other parties may lock it again</p></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
|
||||
|
||||
Reference in New Issue
Block a user