Tree Snapshot
class TreeSnapshot
Content copied to clipboard
Aggregate of all the snapshots of a tree of workflows.
Can be serialized with toByteString and deserialized with parse.
For tests, you can get a TreeSnapshot from a RenderingAndSnapshot or by creating one for your root workflow only by calling forRootOnly.
Parameters
child Tree Snapshots
A function that will lazily parse the child snapshots for this tree when invoked. It will be cached in the childTreeSnapshots property.
Types
Functions
to Byte String
Link copied to clipboard
Writes this Snapshot and all its children into a ByteString. The snapshot can be restored with parse.