File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ repositories {
29
29
}
30
30
31
31
dependencies {
32
- implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.19 ")
32
+ implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.20 ")
33
33
}
34
34
```
35
35
@@ -169,14 +169,11 @@ dependency:
169
169
170
170
``` kotlin
171
171
dependencies {
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 " )
174
174
}
175
175
```
176
176
177
- ** DISCLAIMER:** Supported platforms for the ` kotlin-result-coroutines ` dependency are
178
- limited to that which coroutines currently supports.
179
-
180
177
The coroutine implementation of ` binding ` has been designed so that the first
181
178
call to ` bind() ` that fails will cancel all child coroutines within the current
182
179
coroutine scope.
@@ -185,7 +182,6 @@ The example below demonstrates a computationally expensive function that takes
185
182
five milliseconds to compute being eagerly cancelled as soon as a smaller
186
183
function fails in just one millisecond:
187
184
188
-
189
185
``` kotlin
190
186
suspend fun failsIn5ms (): Result <Int , DomainErrorA > { .. . }
191
187
suspend fun failsIn1ms (): Result <Int , DomainErrorB > { .. . }
Original file line number Diff line number Diff line change 1
1
group =com.michael-bull.kotlin-result
2
- version =1.1.20-SNAPSHOT
2
+ version =1.1.20
3
3
description =A multiplatform Result monad for modelling success or failure operations.
4
4
5
5
kotlin.code.style =official
You can’t perform that action at this time.
0 commit comments