Free Support Forum - aspose.cloud

Support for Asynchronous Calls to Aspose.Words APIs

I’m looking to use the Aspose word API in my applications in the following way;

  1. Azure Function invokes your API to convert a document to PDF.
  2. Your API does the conversion and then saves the file to Azure Blog Storage
  3. Another Azure Function is triggered from Azure Blob Storage and does something else.

I’m using the WordsApi to invoke a conversion from .doc to .pdf but the request, PostDocumentSaveAs, is synchronous and I need to wait for this to complete. Unfortunately this can means my functions needs to wait which costs money and resources.

I was hoping your API would be asynchronous behind the scenes so I don’t have to keep a thread waiting. Fire and forget is not suitable in this case as I need to know the request was acknowledged your side as part of the main thread.

Is there any asynchronous API calls I can use?


This Topic is created by sohail.aspose using the Email to Topic plugin.

@heymega

Thank you for contacting Aspose Support.

Unfortunately, at present Aspose.Words REST APIs do not support asynchronous calls. This request is already logged in our issue tracking system WORDSCLOUD-455 and we are working hard to offer support for asynchronous calls at the earliest. We will update you here once the requested feature is implemented.