Persistence
public enum Persistence : RawRepresentable
extension FlowPersistence.SwiftUI.Persistence: Equatable
A type indicating how a FlowRepresentable should be persisted.
-
Indicates a
FlowRepresentablein aWorkflowshould persist based on itsshouldLoadfunction.Declaration
Swift
case `default` -
Indicates a
FlowRepresentablein aWorkflowwhoseshouldLoadfunction returns true, should be removed from the workflow after proceeding forward.Declaration
Swift
case removedAfterProceeding -
Creates a
Persistencefrom aFlowPersistence, or returns nil if no mapping exists.Declaration
Swift
public init?(rawValue: FlowPersistence) -
The corresponding
FlowPersistencefor thisPersistenceDeclaration
Swift
public var rawValue: FlowPersistence { get }
View on GitHub
Persistence Enumeration Reference