barrier
TypeScriptbarrier(barrier: (() => void)): voidSwift declarationfunc barrier(execute barrier: @escaping () -> Void)class · SDK 27.1
class DispatchIObarrier(barrier: (() => void)): voidSwift declarationfunc barrier(execute barrier: @escaping () -> Void)get fileDescriptor(): numberSwift declarationvar fileDescriptor: Int32 { get }setLimitHighWater(high_water: number): voidSwift declarationfunc setLimit(highWater high_water: Int)setLimitLowWater(low_water: number): voidSwift declarationfunc setLimit(lowWater low_water: Int)setInterval(interval: DispatchTimeInterval, flags?: DispatchIO_IntervalFlags): voidSwift declarationfunc setInterval(interval: DispatchTimeInterval, flags: DispatchIO.IntervalFlags = [])static readFromFileDescriptorMaxLengthRunningHandlerOnHandler(fromFileDescriptor: number, maxLength: number, queue: DispatchQueue, handler: ((arg0: DispatchData, arg1: number) => void)): voidSwift declarationclass func read(fromFileDescriptor: Int32, maxLength: Int, runningHandlerOn queue: DispatchQueue, handler: @escaping (DispatchData, Int32) -> Void)readOffsetLengthQueueIoHandler(offset: SDKHandle, length: number, queue: DispatchQueue, ioHandler: ((arg0: boolean, arg1: (DispatchData) | null, arg2: number) => void)): voidSwift declarationfunc read(offset: off_t, length: Int, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void)static initTypeIoQueueCleanupHandler(type: DispatchIO_StreamType, io: DispatchIO, queue: DispatchQueue, cleanupHandler: ((arg0: number) => void)): DispatchIOSwift declarationconvenience init(type: DispatchIO.StreamType, io: DispatchIO, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)static initTypeFileDescriptorQueueCleanupHandler(type: DispatchIO_StreamType, fileDescriptor: number, queue: DispatchQueue, cleanupHandler: ((arg0: number) => void)): DispatchIOSwift declarationconvenience init(type: DispatchIO.StreamType, fileDescriptor: Int32, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)static initTypePathOflagModeQueueCleanupHandler(type: DispatchIO_StreamType, path: SDKHandle, oflag: number, mode: SDKHandle, queue: DispatchQueue, cleanupHandler: ((arg0: number) => void)): DispatchIOSwift declarationconvenience init(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)static initTypePathOflagModeQueueCleanupHandler9271(type: DispatchIO_StreamType, path: SDKHandle, oflag: number, mode: SDKHandle, queue: DispatchQueue, cleanupHandler: ((arg0: number) => void)): (DispatchIO) | nullSwift declarationconvenience init?(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)close(flags?: DispatchIO_CloseFlags): voidSwift declarationfunc close(flags: DispatchIO.CloseFlags = [])static writeToFileDescriptorDataRunningHandlerOnHandler(toFileDescriptor: number, data: DispatchData, queue: DispatchQueue, handler: ((arg0: (DispatchData) | null, arg1: number) => void)): voidSwift declarationclass func write(toFileDescriptor: Int32, data: DispatchData, runningHandlerOn queue: DispatchQueue, handler: @escaping (DispatchData?, Int32) -> Void)writeOffsetDataQueueIoHandler(offset: SDKHandle, data: DispatchData, queue: DispatchQueue, ioHandler: ((arg0: boolean, arg1: (DispatchData) | null, arg2: number) => void)): voidSwift declarationfunc write(offset: off_t, data: DispatchData, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void)1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
DispatchIO.init()
inherited init: cannot prove legal (class declares 4 custom initializers)