aws-appsync-ios

How to set AWS Appsync request timeout limit || AWSAppSync Client not giving callback

霸气de小男生 提交于 2019-12-23 13:15:52
问题 I'm using AWS Appsync for the current App I'm developing and facing a serious issue that is Whenever I fire queries in Appsync client, when there is slow internet connection the request never end with a callback. I checked over internet there is limited source of information on this topic and also found this issue that is still open. This is the code I used to get the response func getAllApi(completion:@escaping DataCallback){ guard isInternetAvailabele() else { completion(nil) return } //