SessionSettings

public struct SessionSettings : Codable
  • Returns cached settings for a session, or default settings if not cached

    Declaration

    Swift

    public static func settings(for session: Session) -> SessionSettings
  • Updates the cached settings for a session

    Declaration

    Swift

    public static func setSettings(_ settings: SessionSettings, for session: Session)
  • Randomly decides whether we should sample based on the I/O percentage

    Declaration

    Swift

    public func shouldSampleInputOutput() -> Bool