diff options
author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2023-04-29 01:28:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 01:28:41 +0000 |
commit | d04e1fa368115718a308c123a3b9c18e6626f5f1 (patch) | |
tree | 12dd5d3698e9d644bc588b2a58e76048dad7a244 /coroutine-utils/src | |
parent | 251d94c9f3a9186385b5fae358e5384576ab36f2 (diff) |
fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)
* fix(deps): update dependency com.facebook:ktfmt to v0.44
* chore: reformat with ktfmt 0.44
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'coroutine-utils/src')
-rw-r--r-- | coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt b/coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt index c8edd654..61ef0b47 100644 --- a/coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt +++ b/coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt @@ -13,8 +13,11 @@ import kotlinx.coroutines.Dispatchers public interface DispatcherProvider { public fun main(): CoroutineDispatcher = Dispatchers.Main + public fun default(): CoroutineDispatcher = Dispatchers.Default + public fun io(): CoroutineDispatcher = Dispatchers.IO + public fun unconfined(): CoroutineDispatcher = Dispatchers.Unconfined } |