SwiftstructSeymourClient

struct SeymourClient.Subscription

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 4

  1. fieldlet handler: @Sendable (A, @Sendable () -> ()) -> ()
  2. fieldlet identifier: Foundation.UUID
  3. fieldlet objectIdentifier: ObjectIdentifier
  4. initinit(handler: @Sendable (A) -> ()) -> SeymourClient.Subscription<A>
struct Subscription<A> where A: SeymourClient.Event {
    let identifier: Foundation.UUID
    let objectIdentifier: Swift.ObjectIdentifier
    let handler: @Sendable (A, @escaping @Sendable () -> ()) -> ()

    init(handler: @escaping @Sendable (_: A) -> ())
}