Release v1.1.20

This commit is contained in:
Michael Bull 2024-03-03 15:52:20 +00:00
parent a522fbd3e7
commit 89ed2955ba
2 changed files with 4 additions and 8 deletions

View File

@ -29,7 +29,7 @@ repositories {
} }
dependencies { dependencies {
implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.19") implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.20")
} }
``` ```
@ -169,14 +169,11 @@ dependency:
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.19") implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.20")
implementation("com.michael-bull.kotlin-result:kotlin-result-coroutines:1.1.19") implementation("com.michael-bull.kotlin-result:kotlin-result-coroutines:1.1.20")
} }
``` ```
**DISCLAIMER:** Supported platforms for the `kotlin-result-coroutines` dependency are
limited to that which coroutines currently supports.
The coroutine implementation of `binding` has been designed so that the first The coroutine implementation of `binding` has been designed so that the first
call to `bind()` that fails will cancel all child coroutines within the current call to `bind()` that fails will cancel all child coroutines within the current
coroutine scope. coroutine scope.
@ -185,7 +182,6 @@ The example below demonstrates a computationally expensive function that takes
five milliseconds to compute being eagerly cancelled as soon as a smaller five milliseconds to compute being eagerly cancelled as soon as a smaller
function fails in just one millisecond: function fails in just one millisecond:
```kotlin ```kotlin
suspend fun failsIn5ms(): Result<Int, DomainErrorA> { ... } suspend fun failsIn5ms(): Result<Int, DomainErrorA> { ... }
suspend fun failsIn1ms(): Result<Int, DomainErrorB> { ... } suspend fun failsIn1ms(): Result<Int, DomainErrorB> { ... }

View File

@ -1,5 +1,5 @@
group=com.michael-bull.kotlin-result group=com.michael-bull.kotlin-result
version=1.1.20-SNAPSHOT version=1.1.20
description=A multiplatform Result monad for modelling success or failure operations. description=A multiplatform Result monad for modelling success or failure operations.
kotlin.code.style=official kotlin.code.style=official