workflow
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
workflow
workflow-runtime
/
com.squareup.workflow1
/
TreeSnapshot
/
Companion
/
forRootOnly
for
Root
Only
fun
forRootOnly
(
rootSnapshot
:
Snapshot
?
)
:
TreeSnapshot
(
source
)
Returns a
TreeSnapshot
that only contains a
Snapshot
for the root workflow, and no child snapshots.