diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-01 20:50:52 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-04 01:52:57 +0530 |
commit | 3a4e827f1abcb3d77d43dba4f7cf4d9a9c9655f7 (patch) | |
tree | 96b314ed0cb1f62722e6c02336c28c0819673916 /coroutine-utils | |
parent | 496f421f170f6d437cdef63dc4644bf6b423a547 (diff) |
fix: clear violations of `RawDispatcherUse`
Diffstat (limited to 'coroutine-utils')
-rw-r--r-- | coroutine-utils/src/main/kotlin/app/passwordstore/util/coroutines/DispatcherProvider.kt | 2 |
1 files changed, 2 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 61ef0b47..bcc3b16f 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 @@ -14,6 +14,8 @@ public interface DispatcherProvider { public fun main(): CoroutineDispatcher = Dispatchers.Main + public fun mainImmediate(): CoroutineDispatcher = Dispatchers.Main.immediate + public fun default(): CoroutineDispatcher = Dispatchers.Default public fun io(): CoroutineDispatcher = Dispatchers.IO |