Swiftclass_AppUserEvents_AppAnalytics
UserEventProcessor
class _AppUserEvents_AppAnalytics.UserEventProcessor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolAppAnalytics.EventProcessorType
Members 10
- deinit
deinit - field
let state: Synchronization.Mutex<_AppUserEvents_AppAnalytics.UserEventProcessor<A>.State> - field
let translator: _AppUserEvents_AppAnalytics.UserEventTranslator<A>+0x18 - field
let unfinishedIngestionTasks: Synchronization.Mutex<[Foundation.UUID : Task<(), Never>]> - field
let userEventHistory: AppUserEvents.UserEventHistory<A>+0x10 - func
didEndSession(_: AppAnalytics.Session, endDate: Foundation.Date) -> () - func
didStartSession(AppAnalytics.Session) -> () - func
flush(callbackQueue: AppAnalytics.AccessQueue, completion: (() -> ())?) -> () - func
process<A where A1: AppAnalytics.EventType>(processEvent: AppAnalytics.ProcessEvent<A1>) -> () - init
_AppUserEvents_AppAnalytics.UserEventProcessor.__allocating_init(userEventHistory: AppUserEvents.UserEventHistory<A>, translator: _AppUserEvents_AppAnalytics.UserEventTranslator<A>) -> _AppUserEvents_AppAnalytics.UserEventProcessor<A>
Header
class UserEventProcessor<A>: __C.AAFlushable where A: AppUserEvents.UserEvent { struct ActiveState { let writeStream: AppUserEvents.UserEventWriteStream<A> let ingestionContinuation: Swift.AsyncStream<_AppUserEvents_AppAnalytics.TranslationRequest<A>>.Continuation let ingestionTask: Swift.Task<(), Swift.Never> } enum State { case active(_AppUserEvents_AppAnalytics.UserEventProcessor<A>.ActiveState) case inactive } let userEventHistory: AppUserEvents.UserEventHistory<A> let translator: _AppUserEvents_AppAnalytics.UserEventTranslator<A> let state: Synchronization.Mutex<_AppUserEvents_AppAnalytics.UserEventProcessor<A>.State> let unfinishedIngestionTasks: Synchronization.Mutex<[Foundation.UUID : Swift.Task<(), Swift.Never>]> init(userEventHistory: AppUserEvents.UserEventHistory<A>, translator: _AppUserEvents_AppAnalytics.UserEventTranslator<A>) final func didEndSession(_: AppAnalytics.Session, endDate: Foundation.Date) final func didStartSession(_: AppAnalytics.Session) final func flush(callbackQueue: AppAnalytics.AccessQueue, completion: (() -> ())?) final func process<A1>(processEvent: AppAnalytics.ProcessEvent<A1>) where A1: AppAnalytics.EventType deinit }