forRootOnly

fun forRootOnly(rootSnapshot: Snapshot?): TreeSnapshot(source)

Returns a TreeSnapshot that only contains a Snapshot for the root workflow, and no child snapshots.