Open lukehesluke opened 8 years ago
legerdemain uses 'callback' rather than 'context.succeed' or 'context.fail', when available, to return to AWS Lambda.
For Node.js runtime v4.3, this is the supported method of returning to Lambda (http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-using-old-runtime.html). For older runtime versions, 'context.succeed' or 'context.fail' will still be used
legerdemain uses 'callback' rather than 'context.succeed' or 'context.fail', when available, to return to AWS Lambda.
For Node.js runtime v4.3, this is the supported method of returning to Lambda (http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-using-old-runtime.html). For older runtime versions, 'context.succeed' or 'context.fail' will still be used