These are chat archives for mentum/lambdaws

28th
Apr 2015
Jacques-Olivier D. Bernier
@jackdbernier
Apr 28 2015 06:03
Are sure of it ? It might just feel that way. I did not write that code but from my understanding of it, as soon as you create a "clouded function" the code gets uploaded to aws lambda. Then the first few calls will wait until the upload finishes.
https://github.com/mentum/lambdaws/blob/144a1f0d3b2f7324b6e0587ce5231f9a32eb6e15/lib/LambdaHelper.js#L212 there you can see that the proxy you receive gets the uploadPromise meaning that at some point in time it will finish. It might be useful to resurface that promise somehow to let people get notified for upload completion.
Jacques-Olivier D. Bernier
@jackdbernier
Apr 28 2015 06:08
I can be wrong though. Would you mind to share a bigger snippet of code ? You could also try adding a setTimeoutin there just to test it out.