Contents

DispatchSourceUserDataAdd

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

Declaration

protocol DispatchSourceUserDataAdd : DispatchSourceProtocol, Sendable

Overview

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

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

Topics

Getting the Event Data

See Also

Creating a Custom Source