SwiftclassAppStoreKit

class AppStoreKit.DebugMetricsEventRecorder

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 14

  1. deinitdeinit
  2. fieldvar _events: Combine.Published<[AppStoreKit.DebugMetricsEvent]>
  3. fieldlet historySize: Int
  4. fieldvar onDiskStoragePath: Foundation.URL?
  5. fieldvar recordToDisk: Bool+0x10
  6. fieldlet stateLock: JEUnfairLock
  7. funcclear() -> ()
  8. funcflush() -> JetEngine.Promise<Int>
  9. funcrecord(_: JetEngine.LintedMetricsEvent, on: String?) -> ()
  10. funcstartRecordingToDisk(at: Foundation.URL) -> ()
  11. initAppStoreKit.DebugMetricsEventRecorder.__allocating_init(historySize: Int) -> AppStoreKit.DebugMetricsEventRecorder
  12. typealiastypealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
  13. varfinal var $events: Combine.Published<[AppStoreKit.DebugMetricsEvent]>.Publisher { get }
  14. varfinal var events: [AppStoreKit.DebugMetricsEvent] { get }
class DebugMetricsEventRecorder {
    var recordToDisk: Swift.Bool
    var onDiskStoragePath: Foundation.URL?
    let historySize: Swift.Int
    let stateLock: __C.JEUnfairLock

    init(historySize: Swift.Int)

    @Combine.Published final var events: [AppStoreKit.DebugMetricsEvent] {
        get
    }

    final func startRecordingToDisk(at: Foundation.URL)
    final func clear()
    final func flush() -> JetEngine.Promise<Swift.Int>
    final func record(_: JetEngine.LintedMetricsEvent, on: Swift.String?)

    deinit
}