Set an update handler to receive data on the Watch App
public func setUpdateHandler(_ updateHandler: @escaping(Update) -> Void){
- updateHandler: Callback function that is called when a new datapoint has been received.
Set an update handler to receive data on the Watch App
public func setUpdateHandler(_ updateHandler: @escaping(Update) -> Void){