Release v1.1.20
This commit is contained in:
parent
a522fbd3e7
commit
89ed2955ba
10
README.md
10
README.md
@ -29,7 +29,7 @@ repositories {
|
||||
}
|
||||
|
||||
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
|
||||
dependencies {
|
||||
implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.19")
|
||||
implementation("com.michael-bull.kotlin-result:kotlin-result-coroutines: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.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
|
||||
call to `bind()` that fails will cancel all child coroutines within the current
|
||||
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
|
||||
function fails in just one millisecond:
|
||||
|
||||
|
||||
```kotlin
|
||||
suspend fun failsIn5ms(): Result<Int, DomainErrorA> { ... }
|
||||
suspend fun failsIn1ms(): Result<Int, DomainErrorB> { ... }
|
||||
|
@ -1,5 +1,5 @@
|
||||
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.
|
||||
|
||||
kotlin.code.style=official
|
||||
|
Loading…
Reference in New Issue
Block a user