ReactiveSubstance
open class ReactiveSubstance<T, A> : SubstanceConcrete where T : State, A : RawRepresentable
Undocumented
-
Undocumented
Declaration
Swift
public private(set) var state: T { get set }
-
Undocumented
Declaration
Swift
public var prop: T { get set }
-
Undocumented
Declaration
Swift
override public func initializeMetaClass()
-
Undocumented
Declaration
Swift
public func actionName(_ val: A) -> String
-
Undocumented
Declaration
Swift
public func define<T:RawRepresentable>(mix enumVal:T, _ reaction: @escaping FluxMutationClosure)
-
Undocumented
Declaration
Swift
public func define(mix enumVal:A, _ reaction: @escaping FluxMutationClosure)
-
Undocumented
Declaration
Swift
public override func stateSnapshotDictionary() -> FlaskDictType
-
Undocumented
Declaration
Swift
public override func stateDictionary() -> FlaskDictType
-
Undocumented
Declaration
Swift
public func captureState(newState:T? = nil,_ completion:@escaping ()->Void = {})
-
Undocumented
Declaration
Swift
public func rollbackState(_ completion:@escaping ()->Void = {})
-
Undocumented
Declaration
Swift
public func commitState(_ completion:@escaping ()->Void = {})
-
Undocumented
Declaration
Swift
open func archiveKeySpace() -> String
-
Undocumented
Declaration
Swift
open func archiveKey() -> String
-
Undocumented
Declaration
Swift
open func archiveDelay() -> Double
-
Undocumented
Declaration
Swift
open func archiveDisabled() -> Bool
-
Undocumented
Declaration
Swift
public func archiveNow()
-
Undocumented
Declaration
Swift
public func purgeArchive()