AnyStoreType
public struct AnyStoreType<ActionType, StateType> : StoreType
                Type-erasure for the protocol StoreType.
For more information please check the protocol documentation.
The easiest way of creating this type is calling StoreType/eraseToAnyStoreType() on any store type.
- 
                  
                  
Type-erasure for the protocol
StoreType.For more information please check the protocol documentation. The easiest way of creating this type is calling
StoreType/eraseToAnyStoreType()on any store type.Declaration
Swift
public init<S>(_ store: S) where ActionType == S.ActionType, StateType == S.StateType, S : StoreType - 
                  
                  
Type-erasure for the protocol
StoreType.For more information please check the protocol documentation. The easiest way of creating this type is calling
StoreType/eraseToAnyStoreType()on any store type.Declaration
Swift
public init(action: @escaping (DispatchedAction<ActionType>) -> Void, state: UnfailablePublisherType<StateType>) - 
                  
                  
Type-erasure for the protocol
StoreType.This function implements the behaviour of
ActionHandler/dispatch(_:)For more information please check the protocol documentation. The easiest way of creating this type is calling
StoreType/eraseToAnyStoreType()on any store type.Declaration
Swift
public func dispatch(_ dispatchedAction: DispatchedAction<ActionType>) - 
                  
                  
Type-erasure for the protocol
StoreType.This function implements the behaviour of
StateProvider/statePublisherFor more information please check the protocol documentation. The easiest way of creating this type is calling
StoreType/eraseToAnyStoreType()on any store type.Declaration
Swift
public var statePublisher: UnfailablePublisherType<StateType> { get } 
View on GitHub
        AnyStoreType Structure Reference