PROTOCOL
WorkflowDebugger
¶
public protocol WorkflowDebugger
Defines a type that receives debug information about a running workflow hierarchy.
Methods¶
didEnterInitialState(snapshot:)
¶
func didEnterInitialState(snapshot: WorkflowHierarchyDebugSnapshot)
Called once when the workflow hierarchy initializes.
- Parameter snapshot: Debug information about the workflow hierarchy.
Parameters¶
Name | Description |
---|---|
snapshot | Debug information about the workflow hierarchy. |
didUpdate(snapshot:updateInfo:)
¶
func didUpdate(snapshot: WorkflowHierarchyDebugSnapshot, updateInfo: WorkflowUpdateDebugInfo)
Called when an update occurs anywhere within the workflow hierarchy.
- Parameter snapshot: Debug information about the workflow hierarchy after the update.
- Parameter updateInfo: Information about the update.
Parameters¶
Name | Description |
---|---|
snapshot | Debug information about the workflow hierarchy the update. |
updateInfo | Information about the update. |