Publisher
extension Publisher
-
Stores the
Identifiable
upstream into an entityStoreDeclaration
Swift
public func store(in entityStore: EntityStore, named: AliasKey<Output>? = nil, modifiedAt: Stamp = Date().stamp) -> AnyPublisher<Output, Failure> where Output: Identifiable
-
Stores the
Aggregate
upstream into an entityStoreDeclaration
Swift
public func store(in entityStore: EntityStore, named: AliasKey<Output>? = nil, modifiedAt: Stamp = Date().stamp) -> AnyPublisher<Output, Failure> where Output: Aggregate
-
Stores the upstream collection into an entityStore
Declaration
Swift
public func store(in entityStore: EntityStore, named: AliasKey<Output>? = nil, modifiedAt: Stamp = Date().stamp) -> AnyPublisher<[Output.Element], Failure> where Output: Collection, Output.Element: Identifiable
-
Stores the upstream collection into an entityStore
Declaration
Swift
public func store(in entityStore: EntityStore, named: AliasKey<Output>? = nil, modifiedAt: Stamp = Date().stamp) -> AnyPublisher<[Output.Element], Failure> where Output: Collection, Output.Element: Aggregate