Skip to content

//workflow/com.squareup.workflow1/unsnapshottableIdentifier

unsnapshottableIdentifier

[jvm]
Content
fun unsnapshottableIdentifier(type: KType): WorkflowIdentifier
More info

Creates a WorkflowIdentifier that is not capable of being snapshotted and will cause any ImpostorWorkflow workflow identified by it to also not be snapshotted.

This function should not be used for ImpostorWorkflows that wrap arbitrary workflows, since those workflows may expect to be on snapshotted. Using such identifiers anywhere in the ImpostorWorkflow.realIdentifier chain will disable snapshotting for that workflow. This function should only be used for ImpostorWorkflows that wrap a closed set of known workflow types.