Skip to content

Commit

Permalink
Release v1.1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbull committed Mar 3, 2024
1 parent a522fbd commit 89ed295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down Expand Up @@ -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.
Expand All @@ -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> { ... }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 89ed295

Please sign in to comment.