Instance Method setEventHandler(handler:) func setEventHandler(handler: DispatchWorkItem) Default Implementations DispatchSourceProtocol Implementations func setEventHandler(handler: DispatchWorkItem)