jeudi 6 août 2015

AWS Lambda Java done() Method

I don't see a done() method in the Context object of the Java implementation of AWS lambda.

In node, you can perform a bunch of async operations and then call done() when everything has completed. The lambda is considered unfinished until done() is called.

I would like to do something similar in Java, but I don't see the done() method. So then when is a Java implementation of a lambda function considered "done"? When it returns? Do I have to instead block on everything before returning? That seems crumby.




Aucun commentaire:

Enregistrer un commentaire