Instance Method (Default implementation)swift 6.0.3Dispatch

setRegistrationHandler(handler:)

iOS
8.0+
macOS
10.10+
func setRegistrationHandler(handler: DispatchWorkItem)