DispatchSourceProtocol
Defines a common set of properties and methods that are shared with all dispatch source types.
Declaration
protocol DispatchSourceProtocol : NSObjectProtocolOverview
You do not adopt this protocol in your objects. Instead, use the makeSignalSource(signal:queue:) method to create an object that adopts this protocol.
Topics
Activating, Suspending, and Resuming a Source
Canceling a Dispatch Source
Installing Event Handlers
setEventHandler(handler:)setEventHandler(qos:flags:handler:)setRegistrationHandler(handler:)setRegistrationHandler(qos:flags:handler:)DispatchSourceProtocol.DispatchSourceHandler