diff options
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 |