Instance Method (Default implementation)swift 6.0.3Dispatch
setRegistrationHandler(handler:)
- iOS
- 8.0+
- macOS
- 10.10+
func setRegistrationHandler(handler: DispatchWorkItem)
func setRegistrationHandler(handler: DispatchWorkItem)
s8Dispatch0A14SourceProtocolPAAE22setRegistrationHandler7handleryAA0A8WorkItemC_tF
What are these?815T8
import Dispatch
protocol DispatchSourceProtocol
class DispatchWorkItem
func setRegistrationHandler(handler: DispatchWorkItem)
var data: UInt { get }
var handle: UInt { get }
var isCancelled: Bool { get }
var mask: UInt { get }
func activate()
func cancel()
func resume()
func setCancelHandler(handler: DispatchWorkItem)
func setCancelHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?)
func setEventHandler(handler: DispatchWorkItem)
func setEventHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?)
func setRegistrationHandler(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], handler: DispatchSourceHandler?)
func suspend()