microsoft / Cognitive-Vision-Windows

Windows SDK for the Microsoft Computer Vision API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/computer-vision-api
Other
166 stars 150 forks source link

[Vision API] CancelationToken for Async calls. #2

Closed margaretmz closed 6 years ago

margaretmz commented 8 years ago

From @snap608 on April 6, 2016 19:49

Since the VisionServiceClient (C#) have no timeout we should be able to pass a CancelationToken or set a timeout for all calls to the API via the VisionServiceClient.

PS: Because of the downtime today (6.apr 2016) our integration encountered a hang.

Copied from original issue: Microsoft/ProjectOxford-ClientSDK#46

margaretmz commented 8 years ago

From @cthrash on April 9, 2016 0:15

This will be considered in a future release. The request will have timed out eventually on the client side(100 seconds).

cthrash commented 6 years ago

This client SDK is being deprecated in favor of our new package. This SDK support CancelationTokens.