Contents

DispatchSourceUserDataOr

A dispatch source that coalesces data you provide using an OR operation.

Declaration

protocol DispatchSourceUserDataOr : DispatchSourceProtocol, Sendable

Overview

You do not adopt this protocol in your objects. Instead, use the makeUserDataOrSource(queue:) method to create an object that adopts this protocol.

To add custom data to the dispatch source, call the or(data:) method.

Topics

Getting the Event Data

See Also

Creating a Custom Source