Louis Barclay
06/03/2021, 3:50 PMsst
to invoke itself after a [2] second time out? It needs to know the endpoint it's at so it can call that endpoint. I guess I can get this through some context-like object, just not sure where to access that.Frank
Frank
setTimeout(…, 2000)
work for uLouis Barclay
06/03/2021, 10:10 PMLouis Barclay
06/03/2021, 10:12 PMFrank
invokeAsync
using the AWS SDK https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Lambda.html#invokeAsync-propertyLouis Barclay
06/08/2021, 12:51 PMevent
object and then simply do another request to that same endpoint using node-fetch
That way it'll always be self-referencing