Skip to content

Instance MethodDispatch

add(data:)

Merges data into a dispatch source of type DISPATCH_SOURCE_TYPE_DATA_ADD and submits its event handler block to its target queue.
func add(data: UInt)

Parameters

data

The value to add to the current pending data. A value of zero has no effect and will not result in the submission of the event handler block.