You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/dungeon/timemachine-shakeable/src/main/java/com/squareup/sample/timemachine/shakeable/ShakeableTimeMachineWorkflow.kt
Copy file name to clipboardExpand all lines: samples/hello-terminal/hello-terminal-app/src/main/java/com/squareup/sample/helloterminal/BlinkingCursorWorkflow.kt
Copy file name to clipboardExpand all lines: samples/hello-terminal/hello-terminal-app/src/main/java/com/squareup/sample/helloterminal/HelloTerminalWorkflow.kt
Copy file name to clipboardExpand all lines: workflow-core/api/workflow-core.api
+5-4
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ public final class com/squareup/workflow/ImpostorWorkflow$DefaultImpls {
22
22
public abstract class com/squareup/workflow/LifecycleWorker : com/squareup/workflow/Worker {
23
23
public fun <init> ()V
24
24
public fun doesSameWorkAs (Lcom/squareup/workflow/Worker;)Z
25
+
public final fun getOutputType ()Lkotlin/reflect/KType;
25
26
public fun onStarted ()V
26
27
public fun onStopped ()V
27
28
public final fun run ()Lkotlinx/coroutines/flow/Flow;
@@ -33,14 +34,12 @@ public abstract interface class com/squareup/workflow/RenderContext {
33
34
public abstract fun onEvent (Lkotlin/jvm/functions/Function1;)Lkotlin/jvm/functions/Function1;
34
35
public abstract fun renderChild (Lcom/squareup/workflow/Workflow;Ljava/lang/Object;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
35
36
public abstract fun runningSideEffect (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
36
-
public abstract fun runningWorker (Lcom/squareup/workflow/Worker;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
37
37
}
38
38
39
39
public final class com/squareup/workflow/RenderContext$DefaultImpls {
40
40
public static fun makeActionSink (Lcom/squareup/workflow/RenderContext;)Lcom/squareup/workflow/Sink;
41
41
public static fun onEvent (Lcom/squareup/workflow/RenderContext;Lkotlin/jvm/functions/Function1;)Lkotlin/jvm/functions/Function1;
42
42
public static synthetic fun renderChild$default (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Workflow;Ljava/lang/Object;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Object;
43
-
public static synthetic fun runningWorker$default (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
44
43
}
45
44
46
45
public abstract interface class com/squareup/workflow/Sink {
@@ -108,13 +107,15 @@ public abstract class com/squareup/workflow/StatelessWorkflow : com/squareup/wor
108
107
public final class com/squareup/workflow/TypedWorker : com/squareup/workflow/Worker {
109
108
public fun <init> (Lkotlin/reflect/KType;Lkotlinx/coroutines/flow/Flow;)V
110
109
public fun doesSameWorkAs (Lcom/squareup/workflow/Worker;)Z
110
+
public fun getOutputType ()Lkotlin/reflect/KType;
111
111
public fun run ()Lkotlinx/coroutines/flow/Flow;
112
112
public fun toString ()Ljava/lang/String;
113
113
}
114
114
115
115
public abstract interface class com/squareup/workflow/Worker {
116
116
public static final field Companion Lcom/squareup/workflow/Worker$Companion;
117
117
public abstract fun doesSameWorkAs (Lcom/squareup/workflow/Worker;)Z
118
+
public abstract fun getOutputType ()Lkotlin/reflect/KType;
118
119
public abstract fun run ()Lkotlinx/coroutines/flow/Flow;
119
120
}
120
121
@@ -127,6 +128,7 @@ public final class com/squareup/workflow/Worker$Companion {
127
128
128
129
public final class com/squareup/workflow/Worker$DefaultImpls {
129
130
public static fun doesSameWorkAs (Lcom/squareup/workflow/Worker;Lcom/squareup/workflow/Worker;)Z
131
+
public static fun getOutputType (Lcom/squareup/workflow/Worker;)Lkotlin/reflect/KType;
130
132
}
131
133
132
134
public abstract interface class com/squareup/workflow/Workflow {
@@ -217,8 +219,6 @@ public final class com/squareup/workflow/Workflows {
217
219
public static final fun invoke (Lcom/squareup/workflow/EventHandler;)V
218
220
public static final fun makeEventSink (Lcom/squareup/workflow/RenderContext;Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow/Sink;
219
221
public static final fun mapRendering (Lcom/squareup/workflow/Workflow;Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow/Workflow;
220
-
public static final fun onWorkerOutput (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
221
-
public static synthetic fun onWorkerOutput$default (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
222
222
public static final fun renderChild (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Workflow;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
223
223
public static final fun renderChild (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Workflow;Ljava/lang/String;)Ljava/lang/Object;
224
224
public static final fun renderChild (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Workflow;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
@@ -227,6 +227,7 @@ public final class com/squareup/workflow/Workflows {
227
227
public static synthetic fun renderChild$default (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Workflow;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Object;
228
228
public static final fun rendering (Lcom/squareup/workflow/Workflow$Companion;Ljava/lang/Object;)Lcom/squareup/workflow/Workflow;
229
229
public static final fun runningWorker (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Ljava/lang/String;)V
230
+
public static final fun runningWorker (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Lkotlin/reflect/KType;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
230
231
public static synthetic fun runningWorker$default (Lcom/squareup/workflow/RenderContext;Lcom/squareup/workflow/Worker;Ljava/lang/String;ILjava/lang/Object;)V
231
232
public static final fun sendAndAwaitApplication (Lcom/squareup/workflow/Sink;Lcom/squareup/workflow/WorkflowAction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
232
233
public static final fun stateful (Lcom/squareup/workflow/Workflow$Companion;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Lcom/squareup/workflow/StatefulWorkflow;
0 commit comments