SwiftstructFindMyUICore
struct FindMyUICore.PeopleProvider.Dependencies
Members 9
- func
static demo(people: [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel]) -> FindMyUICore.PeopleProvider.Dependencies - func
static empty() -> FindMyUICore.PeopleProvider.Dependencies - func
static liveDaemon(filterBlockedPeople: Bool) -> FindMyUICore.PeopleProvider.Dependencies - field
var blockedPeopleFilter: FindMyUICore.PeopleProvider.BlockedPeopleFilter?+0x38 - field
var fetchPeople: @Sendable (FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>.UpdateScope) async throws -> [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel]+0x0 - field
var loadingStateResetDuration: @Sendable () -> Duration+0x20 - field
var observePeopleChanges: @Sendable () async throws -> any AsyncSequence<Self.AsyncSequence.Element == FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>, Self.AsyncSequence.Failure == Never>+0x10 - field
var streamSendsValueOnNewSubscription: Bool+0x30 - init
init<A where A: Sendable, A: AsyncSequence, A.Element == FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>, A.Failure == Never>(fetchPeople: @Sendable (FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>.UpdateScope) async throws -> [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel], observePeopleChanges: @Sendable () async throws -> A, loadingStateResetDuration: @Sendable () -> Duration, streamSendsValueOnNewSubscription: Bool, blockedPeopleFilter: FindMyUICore.PeopleProvider.BlockedPeopleFilter?) -> FindMyUICore.PeopleProvider.Dependencies
Header
struct FindMyUICore.PeopleProvider.Dependencies { var fetchPeople: @Sendable (_: FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>.UpdateScope) async throws -> [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel] var observePeopleChanges: @Sendable () async throws -> any Swift.AsyncSequence var loadingStateResetDuration: @Sendable () -> Swift.Duration var streamSendsValueOnNewSubscription: Swift.Bool var blockedPeopleFilter: FindMyUICore.PeopleProvider.BlockedPeopleFilter? init<A>(fetchPeople: @escaping @Sendable (_: FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>.UpdateScope) async throws -> [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel], observePeopleChanges: @escaping @Sendable () async throws -> A, loadingStateResetDuration: @escaping @Sendable () -> Swift.Duration, streamSendsValueOnNewSubscription: Swift.Bool, blockedPeopleFilter: FindMyUICore.PeopleProvider.BlockedPeopleFilter?) where A: Swift.Sendable, A: Swift.AsyncSequence, A.Element == FindMyUICore.StreamChange<FindMyCore.PersonModel.UniqueIdentifier, FindMyCore.PersonModel>, A.Failure == Swift.Never static func liveDaemon(filterBlockedPeople: Swift.Bool) -> FindMyUICore.PeopleProvider.Dependencies static func demo(people: [FindMyCore.PersonModel.UniqueIdentifier : FindMyCore.PersonModel]) -> FindMyUICore.PeopleProvider.Dependencies static func empty() -> FindMyUICore.PeopleProvider.Dependencies }