I have implemented the following code:
module.exports = { getDataFromUserGps: function(callback) { connection.connect(); connection.qu
If you're trying to get a lambda, I found that ending the handler with context.done() got the lambda to finish. Before adding that 1 line, It would just run and run until it timed out.
context.done()