Contents

DispatchSourceProtocol

Defines a common set of properties and methods that are shared with all dispatch source types.

Declaration

protocol DispatchSourceProtocol : NSObjectProtocol

Overview

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

Getting the Dispatch Source Attributes

See Also

System Event Monitoring