Enumerationswift 6.0.3Foundation
PostingStyle
enum PostingStyle
enum PostingStyle
import Foundation
class NotificationQueue
case asap
case now
case whenIdle
init(notificationCenter: NotificationCenter)
class var `default`: NotificationQueue { get }
func dequeueNotifications(matching notification: Notification, coalesceMask: NotificationQueue.NotificationCoalescing)
func enqueue(_ notification: Notification, postingStyle: NotificationQueue.PostingStyle)
func enqueue(_ notification: Notification, postingStyle: NotificationQueue.PostingStyle, coalesceMask: NotificationQueue.NotificationCoalescing, forModes modes: [RunLoop.Mode]?)
struct NotificationCoalescing
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: UInt)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)