Protocolswift 6.1.2Dispatch
DispatchSourceProtocol
protocol DispatchSourceProtocolBrowse conforming typesprotocol DispatchSourceProtocolimport Dispatchvar data: UInt { get }var handle: UInt { get }var isCancelled: Bool { get }var mask: UInt { get }func cancel() func resume() func setCancelHandler(handler: DispatchWorkItem) func setCancelHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?) func setEventHandler(handler: DispatchWorkItem) func setEventHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?) func setRegistrationHandler(handler: DispatchWorkItem) func setRegistrationHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?) func suspend() var data: UInt { get }var handle: UInt { get }var isCancelled: Bool { get }var mask: UInt { get }func activate() func cancel() func resume() func setCancelHandler(handler: DispatchWorkItem) func setCancelHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?) func setEventHandler(handler: DispatchWorkItem) func setEventHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?) func setRegistrationHandler(handler: DispatchWorkItem) func setRegistrationHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?) func suspend() protocol DispatchSourceRead : DispatchSourceProtocolprotocol DispatchSourceSignal : DispatchSourceProtocolprotocol DispatchSourceTimer : DispatchSourceProtocolprotocol DispatchSourceUserDataAdd : DispatchSourceProtocolprotocol DispatchSourceUserDataOr : DispatchSourceProtocolprotocol DispatchSourceUserDataReplace : DispatchSourceProtocolprotocol DispatchSourceWrite : DispatchSourceProtocol