Implementing per-item timeout and cancellation tokens for recursive file conversion in C#

With regards to slowness in conversion, is it possible for the conversion process to be cancelled, e.g. after a set timeout period or perhaps a cancellation token?

@jarrodwee

In Converter class all Convert methods now have additional parametter cancellationToken.
This feature was added in API version 24.7.

Thanks!
Since Convert has the ability to recursively extract and convert all embedded documents, it will be good if there’s some way to define a timeout that operates on a per item basis.

E.g. if a big ZIP archive is undergoing conversion, it will be good if it can timeout on content which takes too long to convert but still proceed on to continue with the rest of the files in the ZIP archive.

Or if the relevant conversion callbacks can have some sort of lower level cancellation token that operates on the constituent file basis, so that the caller can cancel individual files that take too long to convert.

@jarrodwee
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CONVERSIONNET-7125

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.