Expand description
Workflows are the core building block of Holochain functionality.
Properties
Workflows are transactional, so that if any workflow fails to run to completion, nothing will happen.
In order to achieve this, workflow functions are free of any side-effects which modify cryptographic state: they will not modify the source chain nor send network messages which could cause other agents to update their own source chain.
Workflows are never nested. A workflow cannot call another workflow. However, a workflow can specify that any number of other workflows should be triggered after this one completes.
Side effects and triggering of other workflows is specified declaratively
rather than imperatively. Each workflow returns a WorkflowEffects
value
representing the side effects that should be run. The finish
function
processes this value and performs the necessary actions, including
committing changes to the associated Workspace and triggering other
workflows.
Re-exports
pub use call_zome_workflow::*;
pub use genesis_workflow::*;
pub use initialize_zomes_workflow::*;
Modules
- The workflow and queue consumer for sys validation
- Genesis Workflow: Initialize the source chain with the initial entries:
- The workflow and queue consumer for DhtOp integration
- The workflow and queue consumer for DhtOp integration
- Publish Dht Op Workflow
- The workflow and queue consumer for sys validation