Instance Method



func or(data: UInt)



The value you want to merge with the existing data in the dispatch source. The dispatch source ORs this value with the currently pending data.


After you call this method, the dispatch source submits its event handler to its target queue to process the data. If you specify 0 for the data parameter, the dispatch source does not submit its event hander for execution.

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