Open Instance Propertyswift 6.0.3Foundation
streamError
var streamError: (any Error)? { get }
var streamError: (any Error)? { get }
import Foundation
class Stream
protocol Error : Sendable
A type representing an error value that can be thrown.
override init()
weak var delegate: (any StreamDelegate)?
var streamStatus: Stream.Status { get }
func close()
func open()
func property(forKey key: Stream.PropertyKey) -> AnyObject?
func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
struct Event
struct PropertyKey
enum Status
override var streamError: (any Error)? { get }
override var streamError: (any Error)? { get }