StorePublisher
A publisher of store state.
@dynamicMemberLookup struct StorePublisher<State>
A publisher of store state.
@dynamicMemberLookup struct StorePublisher<State>
import ComposableArchitecture
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, tvOS, and watchOS).
subscript<Value>(dynamicMember keyPath: KeyPath<State, Value>) -> StorePublisher<Value> where Value : Equatable { get }
Returns the resulting publisher of a given key path.
func receive(subscriber: some Subscriber<Output, Failure>)
typealias Failure = Never
typealias Output = State