SwiftclassAppUserEvents
UserEventHistory
class AppUserEvents.UserEventHistory
Members 18
- deinit
deinit - field
let configuration: AppUserEvents.UserEventHistoryConfiguration+0x0 - field
let index: AppUserEvents.UserEventIndex<A>+0x38 - field
let storageBox: any AppUserEvents.UserEventHistoryStorageBoxType<Self.UserEventHistoryStorageBoxType.Event == A>+0x10 - func
debugInspection<A where A == A1.Event, A1: AppUserEvents.UserEventSession>(as: A1.Type) throws -> AppUserEvents.DebugInspection<A1> - func
debugInspection< where A: Decodable, A: Encodable>() throws -> some Swift.Encodable - func
events(order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some Swift.Sequence - func
events< where A: AppUserEvents.UserEventIndexable>(matching: AppUserEvents.UserEventQuery<A>) throws -> some Swift.Sequence - func
openWriteStream() throws -> AppUserEvents.UserEventWriteStream<A> - func
prune(policy: AppUserEvents.UserEventPruningPolicy) throws -> AppUserEvents.UserEventPruningResult - func
sessions<A where A == A1.Event, A1: AppUserEvents.UserEventSession>(as: A1.Type, order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some AppUserEvents.UserEventSession - func
sessions<A where A: AppUserEvents.UserEventIndexable, A == A1.Event, A1: AppUserEvents.UserEventSession>(matching: AppUserEvents.UserEventQuery<A>, as: A1.Type, order: AppUserEvents.UserEventOrder) throws -> some AppUserEvents.UserEventSession - func
synchronize(options: AppUserEvents.UserEventSyncOptions) async throws -> () - init
AppUserEvents.UserEventHistory.__allocating_init<A where A == A1.Event, A1: AppUserEvents.UserEventStorage>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A> - init
AppUserEvents.UserEventHistory.__allocating_init<A where A: AppUserEvents.UserEventIndexable, A == A1.Event, A1: AppUserEvents.UserEventStorage>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A> - init
AppUserEvents.UserEventHistory.__allocating_init< where A: Decodable, A: Encodable>(location: AppUserEvents.UserEventHistoryLocation, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A> - var
final var earliestSessionEndDate: Foundation.Date? { get } - var
final var isEmpty: Bool { get }
Header
class UserEventHistory<A> where A: AppUserEvents.UserEvent { let storageBox: any AppUserEvents.UserEventHistoryStorageBoxType<A> let configuration: AppUserEvents.UserEventHistoryConfiguration let index: AppUserEvents.UserEventIndex<A> init<A1>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) where A == A1.Event, A1: AppUserEvents.UserEventStorage init<A1>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) where A: AppUserEvents.UserEventIndexable, A == A1.Event, A1: AppUserEvents.UserEventStorage init(location: AppUserEvents.UserEventHistoryLocation, configuration: AppUserEvents.UserEventHistoryConfiguration) where A: Swift.Decodable, A: Swift.Encodable final var earliestSessionEndDate: Foundation.Date? { get } final var isEmpty: Swift.Bool { get } final func synchronize(options: AppUserEvents.UserEventSyncOptions) async throws final func debugInspection<A1>(as: A1.Type) throws -> AppUserEvents.DebugInspection<A1> where A == A1.Event, A1: AppUserEvents.UserEventSession final func debugInspection() throws -> some Swift.Encodable where A: Swift.Decodable, A: Swift.Encodable final func openWriteStream() throws -> AppUserEvents.UserEventWriteStream<A> final func prune(policy: AppUserEvents.UserEventPruningPolicy) throws -> AppUserEvents.UserEventPruningResult final func events(order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some Swift.Sequence<A> final func events(matching: AppUserEvents.UserEventQuery<A>) throws -> some Swift.Sequence<A> where A: AppUserEvents.UserEventIndexable final func sessions<A1>(as: A1.Type, order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some Swift.Sequence<A1> where A == A1.Event, A1: AppUserEvents.UserEventSession final func sessions<A1>(matching: AppUserEvents.UserEventQuery<A>, as: A1.Type, order: AppUserEvents.UserEventOrder) throws -> some Swift.Sequence<A1> where A: AppUserEvents.UserEventIndexable, A == A1.Event, A1: AppUserEvents.UserEventSession deinit }