SwiftstructFoundation
struct NSNotificationCenter.Publisher
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCombine.Publisher
- protocolSwift.Equatable
Members 7
- field
let center: NSNotificationCenter+0x0 - field
let name: NSNotificationName+0x8 - field
let object: AnyObject?+0x10 - func
receive<A where A: Combine.Subscriber, A.Failure == Never, A.Input == Foundation.Notification>(subscriber: A) -> () - init
init(center: NSNotificationCenter, name: NSNotificationName, object: AnyObject?) -> NSNotificationCenter.Publisher - typealias
typealias Failure = Swift.Never - typealias
typealias Output = Foundation.Notification
Header
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 }