File tree 2 files changed +7
-6
lines changed
workflow-core/src/commonMain/kotlin/com/squareup/workflow1
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ internal suspend fun <
85
85
) {
86
86
suspendCancellableCoroutine<Unit > { continuation ->
87
87
val resumingAction = object : WorkflowAction <PropsT , StateT , OutputT >() {
88
- override fun toString (): String = " sendAndAwaitApplication($action )"
88
+ // Pipe through debugging name to the original action.
89
+ override val debuggingName: String
90
+ get() = action.debuggingName
89
91
90
92
override fun Updater.apply () {
91
93
// Don't execute anything if the caller was cancelled while we were in the queue.
Original file line number Diff line number Diff line change @@ -89,13 +89,12 @@ internal suspend fun <OutputT> runWorker(
89
89
}
90
90
91
91
private class EmitWorkerOutputAction <P , S , O >(
92
- private val worker : Worker <* >,
93
- private val renderKey : String ,
92
+ worker : Worker <* >,
93
+ renderKey : String ,
94
94
private val output : O ,
95
95
) : WorkflowAction<P, S, O>() {
96
- override val debuggingName: String
97
- get() = CommonKClassTypeNamer .uniqueName(EmitWorkerOutputAction ::class ) +
98
- " (worker=$worker , key=$renderKey )"
96
+ override val debuggingName: String =
97
+ " EmitWorkerOutputAction(worker=$worker , key=$renderKey )"
99
98
100
99
override fun Updater.apply () {
101
100
setOutput(output)
You can’t perform that action at this time.
0 commit comments