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

    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()