SwiftstructFindMyUICore

struct FindMyUICore.FindingUIProvider.Dependencies

Members 8

  1. funcstatic empty() -> FindMyUICore.FindingUIProvider.Dependencies
  2. funcstatic livePeople() -> FindMyUICore.FindingUIProvider.Dependencies
  3. fieldvar addSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()+0x30
  4. fieldvar findableItem: @Sendable (FindMyUICore.FindingUIProvider.ItemRequest) async throws -> FindMyUICore.FindableItem+0x10
  5. fieldvar isPrecisionFindingSupported: @Sendable () -> Bool+0x0
  6. fieldvar observeFindingStateUpdates: @Sendable () async throws -> any AsyncSequence<Self.AsyncSequence.Element == [FindMyUICore.FindingUIProvider.FindingUIStateChange], Self.AsyncSequence.Failure == Never>+0x20
  7. fieldvar removeSubscriptions: @Sendable (Set<FindMyUICore.FindingUIProvider.Subscription>) async throws -> ()+0x40
  8. initinit<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
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
}