Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
receive(subscriber:)
Store.swift:488func receive(subscriber: some Subscriber<Output, Failure>)
func receive(subscriber: some Subscriber<Output, Failure>)
s22ComposableArchitecture14StorePublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF
What are these?8Y9I8
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).
@dynamicMemberLookup struct StorePublisher<State>
A publisher of store state.
typealias Output = State
typealias Failure = Never
subscript<Value>(dynamicMember keyPath: KeyPath<State, Value>) -> StorePublisher<Value> where Value : Equatable { get }
Returns the resulting publisher of a given key path.