workflow-runtime
Toggle table of contents
1.24.04-0.3.0
common
Platform filter
common
Switch theme
Search in API
workflow-runtime
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.