ArtifexSoftware/pdf2docx

Is it possible to support timeout

rastermechanism opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Hi, whileconverting from pdf to docx in somecases it might take too long. Is it possible to add feature if
it is taking more than allowed time, it should cancel further processing of pdf and return timeout.

Describe the solution you'd like
cv = Converter(pdf_path)
cv.convert(dox_path, end=20, timeout=30s)

Describe alternatives you've considered
Not sure about it.

Additional context
Sometime we do really need it, I understand there is end param which might be thought as time bound but still
having a timeout would give granule control over process.