SwiftclassAppUserEvents

class AppUserEvents.UserEventHistory

Members 18

  1. deinitdeinit
  2. fieldlet configuration: AppUserEvents.UserEventHistoryConfiguration+0x0
  3. fieldlet index: AppUserEvents.UserEventIndex<A>+0x38
  4. fieldlet storageBox: any AppUserEvents.UserEventHistoryStorageBoxType<Self.UserEventHistoryStorageBoxType.Event == A>+0x10
  5. funcdebugInspection<A where A == A1.Event, A1: AppUserEvents.UserEventSession>(as: A1.Type) throws -> AppUserEvents.DebugInspection<A1>
  6. funcdebugInspection< where A: Decodable, A: Encodable>() throws -> some Swift.Encodable
  7. funcevents(order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some Swift.Sequence
  8. funcevents< where A: AppUserEvents.UserEventIndexable>(matching: AppUserEvents.UserEventQuery<A>) throws -> some Swift.Sequence
  9. funcopenWriteStream() throws -> AppUserEvents.UserEventWriteStream<A>
  10. funcprune(policy: AppUserEvents.UserEventPruningPolicy) throws -> AppUserEvents.UserEventPruningResult
  11. funcsessions<A where A == A1.Event, A1: AppUserEvents.UserEventSession>(as: A1.Type, order: AppUserEvents.UserEventOrder, limit: AppUserEvents.UserEventLimit) throws -> some AppUserEvents.UserEventSession
  12. funcsessions<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
  13. funcsynchronize(options: AppUserEvents.UserEventSyncOptions) async throws -> ()
  14. initAppUserEvents.UserEventHistory.__allocating_init<A where A == A1.Event, A1: AppUserEvents.UserEventStorage>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A>
  15. initAppUserEvents.UserEventHistory.__allocating_init<A where A: AppUserEvents.UserEventIndexable, A == A1.Event, A1: AppUserEvents.UserEventStorage>(storage: A1, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A>
  16. initAppUserEvents.UserEventHistory.__allocating_init< where A: Decodable, A: Encodable>(location: AppUserEvents.UserEventHistoryLocation, configuration: AppUserEvents.UserEventHistoryConfiguration) -> AppUserEvents.UserEventHistory<A>
  17. varfinal var earliestSessionEndDate: Foundation.Date? { get }
  18. varfinal var isEmpty: Bool { get }
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
}