mirror of
				https://github.com/InsanusMokrassar/MicroUtils.git
				synced 2025-10-30 19:50:31 +00:00 
			
		
		
		
	deploy: 7edfcb20c4
				
					
				
			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.26.1        </div> | ||||
| 0.26.2        </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><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-mutex/index.html">SmartMutex</a><span class="token punctuation">.</span><a href="wait-unlock.html"><span class="token function">waitUnlock</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/SmartMutex.kt#L136">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-mutex/index.html">SmartMutex</a><span class="token punctuation">.</span><a href="wait-unlock.html"><span class="token function">waitUnlock</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/SmartMutex.kt#L135">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