Publisher
extension Publisher
-
Stores the
Identifiableupstream 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
Aggregateupstream 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