Required Instance Methodswift 6.0.3Dispatch
setCancelHandler(handler:)
func setCancelHandler(handler: DispatchWorkItem)
func setCancelHandler(handler: DispatchWorkItem)
s8Dispatch0A14SourceProtocolP16setCancelHandler7handleryAA0A8WorkItemC_tF
What are these?2EGEA
import Dispatch
protocol DispatchSourceProtocol
class DispatchWorkItem
var data: UInt { get }
var handle: UInt { get }
var isCancelled: Bool { get }
var mask: UInt { get }
func cancel()
func resume()
func setCancelHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?)
func setEventHandler(handler: DispatchWorkItem)
func setEventHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?)
func setRegistrationHandler(handler: DispatchWorkItem)
func setRegistrationHandler(qos: DispatchQoS, flags: DispatchWorkItemFlags, handler: DispatchSourceHandler?)
func suspend()
func setCancelHandler(handler: DispatchWorkItem)