SwiftstructFoundation

struct NSNotificationCenter.Publisher

Structure

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

inherits{}

Members 7

  1. fieldlet center: NSNotificationCenter+0x0
  2. fieldlet name: NSNotificationName+0x8
  3. fieldlet object: AnyObject?+0x10
  4. funcreceive<A where A: Combine.Subscriber, A.Failure == Never, A.Input == Foundation.Notification>(subscriber: A) -> ()
  5. initinit(center: NSNotificationCenter, name: NSNotificationName, object: AnyObject?) -> NSNotificationCenter.Publisher
  6. typealiastypealias Failure = Swift.Never
  7. typealiastypealias Output = Foundation.Notification
struct Publisher {
    let center: __C.NSNotificationCenter
    let name: __C.NSNotificationName
    let object: Swift.AnyObject?

    init(center: __C.NSNotificationCenter, name: __C.NSNotificationName, object: Swift.AnyObject?)

    func receive<A>(subscriber: A) where A: Combine.Subscriber, A.Failure == Swift.Never, A.Input == Foundation.Notification
}