aboutsummaryrefslogtreecommitdiff
path: root/coroutine-utils/api
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-09 10:07:54 +0530
committerGitHub <noreply@github.com>2021-12-09 04:37:54 +0000
commit8db0b67ce9ba4a5e56c04c1bea3a738eacb176cf (patch)
tree46700b7a3da32065e073bffbf22765c7e2f30d32 /coroutine-utils/api
parent933558caf8266677dc26497d7c7b930254f4fb07 (diff)
Refactor coroutine testing setup (#1583)
* coroutine-utils: init * coroutine-utils-testing: init * format-common: switch over to using DispatcherProvider * Convert Binds method to an extension function * Add Dispatcher module
Diffstat (limited to 'coroutine-utils/api')
-rw-r--r--coroutine-utils/api/coroutine-utils.api22
1 files changed, 22 insertions, 0 deletions
diff --git a/coroutine-utils/api/coroutine-utils.api b/coroutine-utils/api/coroutine-utils.api
new file mode 100644
index 00000000..000dde65
--- /dev/null
+++ b/coroutine-utils/api/coroutine-utils.api
@@ -0,0 +1,22 @@
+public final class dev/msfjarvis/aps/util/coroutines/DefaultDispatcherProvider : dev/msfjarvis/aps/util/coroutines/DispatcherProvider {
+ public fun <init> ()V
+ public fun default ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public fun io ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public fun main ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public fun unconfined ()Lkotlinx/coroutines/CoroutineDispatcher;
+}
+
+public abstract interface class dev/msfjarvis/aps/util/coroutines/DispatcherProvider {
+ public abstract fun default ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public abstract fun io ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public abstract fun main ()Lkotlinx/coroutines/CoroutineDispatcher;
+ public abstract fun unconfined ()Lkotlinx/coroutines/CoroutineDispatcher;
+}
+
+public final class dev/msfjarvis/aps/util/coroutines/DispatcherProvider$DefaultImpls {
+ public static fun default (Ldev/msfjarvis/aps/util/coroutines/DispatcherProvider;)Lkotlinx/coroutines/CoroutineDispatcher;
+ public static fun io (Ldev/msfjarvis/aps/util/coroutines/DispatcherProvider;)Lkotlinx/coroutines/CoroutineDispatcher;
+ public static fun main (Ldev/msfjarvis/aps/util/coroutines/DispatcherProvider;)Lkotlinx/coroutines/CoroutineDispatcher;
+ public static fun unconfined (Ldev/msfjarvis/aps/util/coroutines/DispatcherProvider;)Lkotlinx/coroutines/CoroutineDispatcher;
+}
+