CLASS
WorkflowHost
¶
Manages an active workflow hierarchy.
Properties¶
rendering
¶
Represents the Rendering
produced by the root workflow in the hierarchy. New Rendering
values are produced
as state transitions occur within the hierarchy.
output
¶
A signal containing output events emitted by the root workflow in the hierarchy.
Methods¶
init(workflow:observers:debugger:)
¶
Initializes a new host with the given workflow at the root.
- Parameter workflow: The root workflow in the hierarchy
- Parameter observers: An optional array of
WorkflowObservers
that will allow runtime introspection for thisWorkflowHost
- Parameter debugger: An optional debugger. If provided, the host will notify the debugger of updates to the workflow hierarchy as state transitions occur.
update(workflow:)
¶
Update the input for the workflow. Will cause a render pass.