From 89ed2955ba77aa6c16527ee75d9b728b1125addf Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sun, 3 Mar 2024 15:52:20 +0000 Subject: [PATCH] Release v1.1.20 --- README.md | 10 +++------- gradle.properties | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1cb9002..45989a4 100644 --- a/README.md +++ b/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 { ... } suspend fun failsIn1ms(): Result { ... } diff --git a/gradle.properties b/gradle.properties index 4fe7fd1..21917d4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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