DispatchSourceUserDataReplace
A dispatch source that replaces any pending data with the new value you provide.
Declaration
protocol DispatchSourceUserDataReplace : DispatchSourceProtocol, SendableOverview
You do not adopt this protocol in your objects. Instead, use the makeUserDataReplaceSource(queue:) method to create an object that adopts this protocol.
To replace the pending data in the dispatch source, call the replace(data:) method.