Protocol

DispatchSourceSignal

A dispatch source that monitors the current process for UNIX signals.

Declaration

protocol DispatchSourceSignal

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.

Relationships

Conforming Types

See Also

Creating a Signal Source

class func makeSignalSource(signal: Int32, queue: DispatchQueue?) -> DispatchSourceSignal

Creates a new dispatch source object that monitors the arrival of a UNIX signal.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software