Web clients have numerous ways of checking on the progress of an asynchronous operation: polling, long polling and websockets. This example application shows how to setup Amazon API Gateway websockets to return the results of an asynchronous Amazon Textract operation -
View it on GitHub