File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ private struct TestWorkflow: Workflow {
156
156
case . worker( input: let input) :
157
157
TestWorker ( input: input)
158
158
. mapOutput { output in
159
- AnyWorkflowAction {
160
- $0 . output = output
159
+ AnyWorkflowAction { state , _ in
160
+ state . output = output
161
161
return nil
162
162
}
163
163
}
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ private struct PublisherTestWorkflow: Workflow {
181
181
func render( state: Int , context: RenderContext < PublisherTestWorkflow > ) -> Int {
182
182
PublisherTestWorker ( )
183
183
. mapOutput { output in
184
- AnyWorkflowAction { state in
184
+ AnyWorkflowAction { state, _ in
185
185
state = output
186
186
return nil
187
187
}
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ private struct TestWorkflow: Workflow {
156
156
case . worker( input: let input) :
157
157
TestWorker ( input: input)
158
158
. mapOutput { output in
159
- AnyWorkflowAction {
160
- $0 . output = output
159
+ AnyWorkflowAction { state , _ in
160
+ state . output = output
161
161
return nil
162
162
}
163
163
}
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ private struct SignalProducerTestWorkflow: Workflow {
180
180
func render( state: Int , context: RenderContext < SignalProducerTestWorkflow > ) -> Int {
181
181
SignalProducerTestWorker ( )
182
182
. mapOutput { output in
183
- AnyWorkflowAction { state in
183
+ AnyWorkflowAction { state, _ in
184
184
state = output
185
185
return nil
186
186
}
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ private struct TestWorkflow: Workflow {
147
147
case . worker( input: let input) :
148
148
TestWorker ( input: input)
149
149
. mapOutput { output in
150
- AnyWorkflowAction {
151
- $0 . output = output
150
+ AnyWorkflowAction { state , _ in
151
+ state . output = output
152
152
return nil
153
153
}
154
154
}
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ private struct ObservableTestWorkflow: Workflow {
180
180
func render( state: Int , context: RenderContext < Self > ) -> Int {
181
181
ObservableTestWorker ( )
182
182
. mapOutput { output in
183
- AnyWorkflowAction { state in
183
+ AnyWorkflowAction { state, _ in
184
184
state = output
185
185
return nil
186
186
}
You can’t perform that action at this time.
0 commit comments