diff --git a/index.html b/index.html index 49c370429b4..ddf3053a609 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@
-0.32.0
+0.32.1 -
constructor(lockStateFlow: StateFlow<Boolean>)(source)
+
constructor(lockStateFlow: StateFlow<Boolean>)(source)
@@ -207,7 +207,7 @@
-
suspend fun tryLock(): Boolean

Will try to lock this SmartMutex immediataly

+
suspend fun tryLock(): Boolean
@@ -222,7 +222,7 @@
-
suspend fun unlock(): Boolean

If isLocked == true - will change it to false and return true. If current call will not unlock this SmartMutex - false

+
suspend fun unlock(): Boolean
diff --git a/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-mutex/-mutable/lock-state-flow.html b/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-mutex/-mutable/lock-state-flow.html index 5221d1d8036..d7bb728249e 100644 --- a/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-mutex/-mutable/lock-state-flow.html +++ b/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-mutex/-mutable/lock-state-flow.html @@ -43,7 +43,7 @@
-0.32.0
+0.32.1 -
open override val lockStateFlow: StateFlow<Boolean>(source)
+
open override val lockStateFlow: StateFlow<Boolean>(source)
- -
-
-
-
acquireByOne
- -
Link copied to clipboard
-
-
-
-
suspend fun acquireByOne(permits: Int = 1)

Holds call until this SmartSemaphore will be re-locked. That means that while freePermits == true, holds will wait for freePermits == false and then try to lock

-
-
-
-
diff --git a/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-semaphore/-mutable/max-permits.html b/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-semaphore/-mutable/max-permits.html index e883bda5631..03643859faa 100644 --- a/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-semaphore/-mutable/max-permits.html +++ b/micro_utils.dokka/dev.inmo.micro_utils.coroutines/-smart-semaphore/-mutable/max-permits.html @@ -43,7 +43,7 @@
-0.32.0
+0.32.1
-
open override val maxPermits: Int(source)
+
open override val maxPermits: Int(source)