Files
HaishinKit.swift/HaishinKit/Sources/Network/NetworkMonitorEvent.swift
2024-11-10 13:27:58 +09:00

12 lines
363 B
Swift

import Foundation
/// An enumeration that indicate the network monitor event.
public enum NetworkMonitorEvent: Sendable {
/// To update statistics.
case status(report: NetworkMonitorReport)
/// To publish sufficient bandwidth occured.
case publishInsufficientBWOccured(report: NetworkMonitorReport)
/// To reset statistics.
case reset
}