SwiftstructFindMyUICore
struct FindMyUICore.FindingUIProvider.Dependencies
Members 8
- func
static empty() -> FindMyUICore.FindingUIProvider.Dependencies - func
static livePeople() -> FindMyUICore.FindingUIProvider.Dependencies - field
var addSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()+0x30 - field
var findableItem: @Sendable (FindMyUICore.FindingUIProvider.ItemRequest) async throws -> FindMyUICore.FindableItem+0x10 - field
var isPrecisionFindingSupported: @Sendable () -> Bool+0x0 - field
var observeFindingStateUpdates: @Sendable () async throws -> any AsyncSequence<Self.AsyncSequence.Element == [FindMyUICore.FindingUIProvider.FindingUIStateChange], Self.AsyncSequence.Failure == Never>+0x20 - field
var removeSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()+0x40 - init
init<A where A: Sendable, A: AsyncSequence, A.Element == [FindMyUICore.FindingUIProvider.FindingUIStateChange], A.Failure == Never>(isPrecisionFindingSupported: @Sendable () -> Bool, findableItem: @Sendable (FindMyUICore.FindingUIProvider.ItemRequest) async throws -> FindMyUICore.FindableItem, observeFindingStateUpdates: @Sendable () async throws -> A, addSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> (), removeSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()) -> FindMyUICore.FindingUIProvider.Dependencies
Header
struct FindMyUICore.FindingUIProvider.Dependencies { var isPrecisionFindingSupported: @Sendable () -> Swift.Bool var findableItem: @Sendable (_: FindMyUICore.FindingUIProvider.ItemRequest) async throws -> FindMyUICore.FindableItem var observeFindingStateUpdates: @Sendable () async throws -> any Swift.AsyncSequence var addSubscriptions: @Sendable (_: Swift.Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> () var removeSubscriptions: @Sendable (_: Swift.Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> () init<A>(isPrecisionFindingSupported: @escaping @Sendable () -> Swift.Bool, findableItem: @escaping @Sendable (_: FindMyUICore.FindingUIProvider.ItemRequest) async throws -> FindMyUICore.FindableItem, observeFindingStateUpdates: @escaping @Sendable () async throws -> A, addSubscriptions: @escaping @Sendable (_: Swift.Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> (), removeSubscriptions: @escaping @Sendable (_: Swift.Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()) where A: Swift.Sendable, A: Swift.AsyncSequence, A.Element == [FindMyUICore.FindingUIProvider.FindingUIStateChange], A.Failure == Swift.Never static func livePeople() -> FindMyUICore.FindingUIProvider.Dependencies static func empty() -> FindMyUICore.FindingUIProvider.Dependencies }