├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── readme.md ├── settings.gradle.kts └── src ├── commonMain └── kotlin │ ├── RetryBackoff.kt │ ├── SharedDataSource.kt │ ├── StateDataSource.kt │ ├── flowOf.kt │ ├── mapAsync.kt │ ├── raceOf.kt │ ├── retryWhen.kt │ └── suspendLazy.kt └── commonTest └── kotlin ├── MapAsyncConcurrencyTest.kt ├── MapAsyncTest.kt ├── RaceOfTest.kt ├── RetryBackoffFlowTest.kt ├── RetryWhenTest.kt ├── SharedDataSourceTest.kt └── SuspendLazyTest.kt /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/gradlew.bat -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/readme.md -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | 2 | rootProject.name = "kotlin-coroutines-recipes" 3 | 4 | -------------------------------------------------------------------------------- /src/commonMain/kotlin/RetryBackoff.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/RetryBackoff.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/SharedDataSource.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/SharedDataSource.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/StateDataSource.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/StateDataSource.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/flowOf.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/flowOf.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/mapAsync.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/mapAsync.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/raceOf.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/raceOf.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/retryWhen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/retryWhen.kt -------------------------------------------------------------------------------- /src/commonMain/kotlin/suspendLazy.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonMain/kotlin/suspendLazy.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/MapAsyncConcurrencyTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/MapAsyncConcurrencyTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/MapAsyncTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/MapAsyncTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/RaceOfTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/RaceOfTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/RetryBackoffFlowTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/RetryBackoffFlowTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/RetryWhenTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/RetryWhenTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/SharedDataSourceTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/SharedDataSourceTest.kt -------------------------------------------------------------------------------- /src/commonTest/kotlin/SuspendLazyTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinMoskala/kotlin-coroutines-recipes/HEAD/src/commonTest/kotlin/SuspendLazyTest.kt --------------------------------------------------------------------------------