Classswift 5.10.0Dispatch
DispatchIO
class DispatchIO
Superclasses
Citizens in Dispatch
Types
Type members
init(type: DispatchIO.StreamType, fileDescriptor: dispatch_fd_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void
) init(type: DispatchIO.StreamType, io: DispatchIO, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void
) init?(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void
) class func read(fromFileDescriptor: Int32, maxLength: Int, runningHandlerOn: DispatchQueue, handler: @escaping (DispatchData, Int32) -> Void
) class func write(toFileDescriptor: Int32, data: DispatchData, runningHandlerOn: DispatchQueue, handler: @escaping (DispatchData?, Int32) -> Void
)
Show obsolete interfaces (1)
Hide obsolete interfaces
Instance members
var fileDescriptor: Int32
func barrier(execute: @escaping () -> ()
) func close(flags: DispatchIO.CloseFlags
) func read(offset: off_t, length: Int, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void
) func setInterval(interval: DispatchTimeInterval, flags: DispatchIO.IntervalFlags
) func setLimit(highWater: Int
) func setLimit(lowWater: Int
) func write(offset: off_t, data: DispatchData, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void
)