SwiftclassUnifiedMessagingKit
MessageCoordinator
@Observable class UnifiedMessagingKit.MessageCoordinator
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 10
- field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _appearanceCounter: [UnifiedMessagingKit.MessagePlacement : UInt64] - field
var _appearanceGeneration: [UnifiedMessagingKit.MessagePlacement : UInt64] - field
var _groups: [UnifiedMessagingKit.MessagePlacement : UnifiedMessagingKit.PlacementGroup]+0x18 - field
var _messageActionObserver: Task<(), Never>? - field
var _messageContinuations: [UnifiedMessagingKit.InstanceToken : AsyncStream<UnifiedMessagingKit.MessagePlacementObserver.Status>.Continuation]+0x28 - field
var _messageRegistry: [String : UnifiedMessagingKit.RegisteredMessage]+0x20 - field
weak var center: UnifiedMessagingKit.MessageCenter?+0x10 - field
let eventQueue: UnifiedMessagingKitJSCore.AsyncSerialQueue - field
let pageEventRecorder: UnifiedMessagingKit.PageEventRecorder
Header
@Observation.Observable class MessageCoordinator { enum TransitionReason { case present(UnifiedMessagingKit.MessageState.MessageInfo) case didAppear case didDisappear case disabled case enabled case userDismiss case javascriptRequested case click } @Observation.ObservationIgnored weak var center: UnifiedMessagingKit.MessageCenter? // synthesized from the storage `_groups` that @Observable generated; the property's own accessors are stripped var groups: [UnifiedMessagingKit.MessagePlacement : UnifiedMessagingKit.PlacementGroup] // synthesized from the storage `_messageRegistry` that @Observable generated; the property's own accessors are stripped var messageRegistry: [Swift.String : UnifiedMessagingKit.RegisteredMessage] // synthesized from the storage `_messageContinuations` that @Observable generated; the property's own accessors are stripped var messageContinuations: [UnifiedMessagingKit.InstanceToken : Swift.AsyncStream<UnifiedMessagingKit.MessagePlacementObserver.Status>.Continuation] // synthesized from the storage `_messageActionObserver` that @Observable generated; the property's own accessors are stripped var messageActionObserver: Swift.Task<(), Swift.Never>? // synthesized from the storage `_appearanceGeneration` that @Observable generated; the property's own accessors are stripped var appearanceGeneration: [UnifiedMessagingKit.MessagePlacement : Swift.UInt64] // synthesized from the storage `_appearanceCounter` that @Observable generated; the property's own accessors are stripped var appearanceCounter: [UnifiedMessagingKit.MessagePlacement : Swift.UInt64] let eventQueue: UnifiedMessagingKitJSCore.AsyncSerialQueue let pageEventRecorder: UnifiedMessagingKit.PageEventRecorder }