File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ repositories {
2929}
3030
3131dependencies {
32- implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.19 ")
32+ implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.20 ")
3333}
3434```
3535
@@ -169,14 +169,11 @@ dependency:
169169
170170``` kotlin
171171dependencies {
172- implementation(" com.michael-bull.kotlin-result:kotlin-result:1.1.19 " )
173- implementation(" com.michael-bull.kotlin-result:kotlin-result-coroutines:1.1.19 " )
172+ implementation(" com.michael-bull.kotlin-result:kotlin-result:1.1.20 " )
173+ implementation(" com.michael-bull.kotlin-result:kotlin-result-coroutines:1.1.20 " )
174174}
175175```
176176
177- ** DISCLAIMER:** Supported platforms for the ` kotlin-result-coroutines ` dependency are
178- limited to that which coroutines currently supports.
179-
180177The coroutine implementation of ` binding ` has been designed so that the first
181178call to ` bind() ` that fails will cancel all child coroutines within the current
182179coroutine scope.
@@ -185,7 +182,6 @@ The example below demonstrates a computationally expensive function that takes
185182five milliseconds to compute being eagerly cancelled as soon as a smaller
186183function fails in just one millisecond:
187184
188-
189185``` kotlin
190186suspend fun failsIn5ms (): Result <Int , DomainErrorA > { .. . }
191187suspend fun failsIn1ms (): Result <Int , DomainErrorB > { .. . }
Original file line number Diff line number Diff line change 11group =com.michael-bull.kotlin-result
2- version =1.1.20-SNAPSHOT
2+ version =1.1.20
33description =A multiplatform Result monad for modelling success or failure operations.
44
55kotlin.code.style =official
You can’t perform that action at this time.
0 commit comments