File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
workflow-core/src/commonMain/kotlin/com/squareup/workflow1 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ import kotlin.jvm.JvmOverloads
13
13
*
14
14
* A [WorkflowAction]'s [apply] method is executed in the context of an [Updater][WorkflowAction.Updater],
15
15
* which provides access to the current [props][WorkflowAction.Updater.props] and
16
- * [state][WorkflowAction.Updater.props]. The latter can be updated with a new [StateT] instance
16
+ * [state][WorkflowAction.Updater.state],
17
+ * along with a [setOutput][WorkflowAction.Updater.setOutput] function.
18
+ * The [state][WorkflowAction.Updater.state] can be updated with a new [StateT] instance
17
19
* that will become the current one after the [apply] function finishes.
18
20
*
19
21
* It is possible for one [WorkflowAction] to delegate to another, although the API is a bit opaque:
You can’t perform that action at this time.
0 commit comments